Class RabbitGatewaySupport

java.lang.Object
org.springframework.amqp.rabbit.core.RabbitGatewaySupport
All Implemented Interfaces:
InitializingBean

public class RabbitGatewaySupport extends Object implements InitializingBean
Convenient super class for application classes that need RabbitMQ access.

Requires a ConnectionFactory or a RabbitTemplate instance to be set. It will create its own RabbitTemplate if a ConnectionFactory is passed in. A custom RabbitTemplate instance can be created for a given ConnectionFactory through overriding the createRabbitTemplate(org.springframework.amqp.rabbit.connection.ConnectionFactory) method.

Author:
Mark Pollack, Gary Russell
See Also: