Example usage for org.springframework.integration.amqp.inbound AmqpInboundGateway afterPropertiesSet

List of usage examples for org.springframework.integration.amqp.inbound AmqpInboundGateway afterPropertiesSet

Introduction

In this page you can find the example usage for org.springframework.integration.amqp.inbound AmqpInboundGateway afterPropertiesSet.

Prototype

@Override
    public final void afterPropertiesSet() 

Source Link

Usage

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();

    return gateway;
}