8889909192939495
public Exchange receive(Endpoint endpoint, long timeout) { if (LOG.isDebugEnabled()) { LOG.debug("<<<< " + endpoint); } PollingConsumer consumer = getConsumer(endpoint); return consumer.receive(timeout); }
70717273747576777879
@Test public void should_create_jgroups_outbound_channel_adapter() throws Exception { FileSystemXmlApplicationContext context = new FileSystemXmlApplicationContext("src/test/resources/outbound-channel-adapter.xml"); PollingConsumer clusterAdapter = context.getBean("cluster-adapter", PollingConsumer.class); assertThat(clusterAdapter).isNotNull(); }