INT-1303 AbstractReplyProducingMessageHandler no longer tries to resolve the replyChannel header value by calling ChannelResolver directly. Instead it simply delegates to MessagingTemplate's new send() method that accepts a "channelName" as a String.

This commit is contained in:
Mark Fisher
2010-07-30 16:14:14 +00:00
parent 7cb3de94d6
commit a3b03bbda7
13 changed files with 114 additions and 57 deletions

View File

@@ -66,6 +66,7 @@ public class ApplicationContextMessageBusTests {
}
};
handler.setBeanFactory(context);
handler.afterPropertiesSet();
PollingConsumer endpoint = new PollingConsumer(sourceChannel, handler);
context.registerEndpoint("testEndpoint", endpoint);
context.refresh();