List of usage examples for org.springframework.integration.amqp.inbound AmqpInboundGateway AmqpInboundGateway
public AmqpInboundGateway(AbstractMessageListenerContainer listenerContainer)
From source file:io.spring.batch.configuration.JobConfiguration.java
@Bean public AmqpInboundGateway inbound(SimpleMessageListenerContainer listenerContainer) { AmqpInboundGateway gateway = new AmqpInboundGateway(listenerContainer); gateway.setRequestChannel(inboundRequests()); gateway.setRequestTimeout(60000000l); gateway.afterPropertiesSet();/*from w w w . java 2 s . com*/ return gateway; }