INT-3565 ClassCastException with Proxy and DEBUG

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

Cast to `IntegrationObjectSupport` fails if the handler is
already proxied in `AbstractSimpleMessageHandlerFactoryBean`.

INT-3565 Polishing

- Fix test.
- enhance test to show that directly bound message handler beans are not advised if already proxied.
This commit is contained in:
Gary Russell
2014-11-20 20:26:33 +02:00
committed by Artem Bilan
parent 266af04bb6
commit 224eef3149
4 changed files with 197 additions and 9 deletions

View File

@@ -31,6 +31,8 @@ import org.springframework.messaging.PollableChannel;
import org.springframework.messaging.support.GenericMessage;
/**
* Also in JMX - changes here should be reflected there.
*
* @author Mark Fisher
* @author Gary Russell
*/