コード例 #1
0
 public static AmqpPublishSubscribeMessageChannelSpec amqpPublishSubscribe(
     String id, ConnectionFactory connectionFactory) {
   return Amqp.publishSubscribeChannel(id, connectionFactory);
 }
コード例 #2
0
 public AmqpPollableMessageChannelSpec<? extends AmqpPollableMessageChannelSpec<?>> amqpPollable(
     String id, ConnectionFactory connectionFactory) {
   return Amqp.pollableChannel(id, connectionFactory);
 }
コード例 #3
0
 public AmqpMessageChannelSpec<? extends AmqpMessageChannelSpec<?>> amqp(
     String id, ConnectionFactory connectionFactory) {
   return Amqp.channel(id, connectionFactory);
 }
コード例 #4
0
 @Bean
 public IntegrationFlow inboundFlow() {
   return IntegrationFlows.from(Amqp.inboundGateway(connectionFactory, rabbitConfig.rubeQueue()))
       .transform((String s) -> s.toUpperCase())
       .get();
 }