Class RabbitGatewaySupport

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

public class RabbitGatewaySupport extends Object implements org.springframework.beans.factory.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.

See Also: