Thread.sleep(1000);
assertEquals(2, integrationSupport.streamRepository().count());
MessageBus bus = integrationSupport.messageBus();
SingleNodeNamedChannelSinkFactory sinkFactory = new SingleNodeNamedChannelSinkFactory(bus);
NamedChannelSink bar1sink = sinkFactory.createNamedChannelSink("queue:bar1");
NamedChannelSink bar2sink = sinkFactory.createNamedChannelSink("queue:bar2");
NamedChannelSource source = new SingleNodeNamedChannelSourceFactory(bus).createNamedChannelSource(TOPIC_FOO);
source.sendPayload("hello");
final Object bar1 = bar1sink.receivePayload(10000);