spring-projects/spring-integration — pull request #1310 by garyrussell (2014-11-04 17:33:38+00:00)
Title: INT-3549 Fix AMQP o-c-a Validation

JIRA: https://jira.spring.io/browse/INT-3549

`afterPropertiesSet()` checks for `NullChannel` to determine
whether a correlation expression is needed for confirms.

This code fails when `nullChannel` is proxied.

Extract the type before testing.