InboundChannelAdapter now extends AbstractMessageProducingEndpoint.

This commit is contained in:
Mark Fisher
2008-09-17 23:10:16 +00:00
parent 6e56e8acbe
commit baa1474ef9
5 changed files with 10 additions and 12 deletions

View File

@@ -197,7 +197,7 @@ public class DefaultMessageBusTests {
InboundChannelAdapter channelAdapter = new InboundChannelAdapter();
channelAdapter.setSource(new FailingSource(latch));
channelAdapter.setSchedule(new PollingSchedule(1000));
channelAdapter.setChannel(outputChannel);
channelAdapter.setOutputChannel(outputChannel);
channelAdapter.setBeanName("testChannel");
bus.registerEndpoint(channelAdapter);
bus.start();