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