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(ConnectionFactory) method.

See Also:
  • Field Details

    • logger

      protected final org.apache.commons.logging.Log logger
      Logger available to subclasses.
  • Constructor Details

    • RabbitGatewaySupport

      public RabbitGatewaySupport()
  • Method Details