List of usage examples for org.springframework.integration.channel DirectChannel DirectChannel
public DirectChannel()
From source file:my.custom.transformer.ModuleConfiguration.java
@Bean
MessageChannel input() {
return new DirectChannel();
}
From source file:org.openwms.common.comm.synq.TimesyncConfiguration.java
/** * Create a MessageChannel with the proper name dynamically. * * @return A DirectChannel instance// w ww . j ava 2s . co m */ @Bean(name = TimesyncServiceActivator.INPUT_CHANNEL_NAME) public MessageChannel getMessageChannel() { return new DirectChannel(); }
From source file:org.openwms.common.comm.sysu.SYSUConfiguration.java
/** * Create a MessageChannel with the proper name dynamically. * * @return A DirectChannel instance//from w w w. j a v a 2 s . c om */ @Bean(name = SystemUpdateServiceActivator.INPUT_CHANNEL_NAME) public MessageChannel getMessageChannel() { return new DirectChannel(); }
From source file:org.openwms.common.comm.req.RequestMessageConfiguration.java
/** * Create a MessageChannel with the proper name dynamically. * /*from ww w .ja v a 2 s . com*/ * @return A DirectChannel instance */ @Bean(name = RequestMessageServiceActivator.INPUT_CHANNEL_NAME) public MessageChannel getMessageChannel() { return new DirectChannel(); }
From source file:org.openwms.common.comm.err.ErrorMessageConfiguration.java
/** * Create a MessageChannel with the proper name dynamically. * /*from w ww . j a va 2 s. com*/ * @return An DirectChannel instance */ @Bean(name = ErrorMessageServiceActivator.INPUT_CHANNEL_NAME) public MessageChannel getMessageChannel() { return new DirectChannel(); }
From source file:com.example.SenderConfiguration.java
@Bean public DirectChannel pubSubOutputChannel() { return new DirectChannel(); }
From source file:org.opencredo.esper.integration.config.xml.InboundChannelAdapterParserTest.java
@Test public void sendAnEsperContextMessageAndAssertThatListenerIsInvoked() throws InterruptedException { template.sendEvent(new MessageContext(new DirectChannel(), "testSourceId")); assertEquals(1, listener.getNumberOfTimesInvoked()); }
From source file:com.apress.prospringintegration.messaging.activemq.jms.adapter.ActivemqConfiguration.java
@Bean public MessageChannel ticketChannel() { MessageChannel channel = new DirectChannel(); return channel; }
From source file:com.acmemotors.transformer.AcmeMotorEnrichingTransformerConfiguration.java
@Bean public MessageChannel output() { return new DirectChannel(); }
From source file:com.acme.ModuleConfiguration.java
@Bean public MessageChannel input() { return new DirectChannel(); }