Java org.springframework.amqp.rabbit.core RabbitAdmin fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.amqp.rabbit.core RabbitAdmin fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.amqp.rabbit.core RabbitAdmin.

The text is from its open source code.

Subclass

org.springframework.amqp.rabbit.core.RabbitAdmin has subclasses.
Click this link to see all its subclasses.

Field

ObjectQUEUE_MESSAGE_COUNT
Property key for the message count in the Properties returned by #getQueueProperties(String) .
ObjectQUEUE_CONSUMER_COUNT
Property key for the consumer count in the Properties returned by #getQueueProperties(String) .

Constructor

RabbitAdmin(ConnectionFactory connectionFactory)
Construct an instance using the provided ConnectionFactory .
RabbitAdmin(RabbitTemplate rabbitTemplate)
Construct an instance using the provided RabbitTemplate .

Method

voidafterPropertiesSet()
If #setAutoStartup(boolean) autoStartup is set to true, registers a callback on the ConnectionFactory to declare all exchanges and queues in the enclosing application context.
voiddeclareBinding(final Binding binding)
voiddeclareExchange(final Exchange exchange)
StringdeclareQueue(final Queue queue)
Declare the given queue.
QueuedeclareQueue()
Declares a server-named exclusive, autodelete, non-durable queue.
booleandeleteExchange(final String exchangeName)
booleandeleteQueue(final String queueName)
DeclarationExceptionEventgetLastDeclarationExceptionEvent()
PropertiesgetQueueProperties(final String queueName)
Returns 3 properties #QUEUE_NAME , #QUEUE_MESSAGE_COUNT , #QUEUE_CONSUMER_COUNT , or null if the queue doesn't exist.
RabbitTemplategetRabbitTemplate()
voidinitialize()
Declares all the exchanges, queues and bindings in the enclosing application context, if any.
booleanisAutoStartup()
voidsetApplicationContext(ApplicationContext applicationContext)
voidsetApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
voidsetAutoStartup(boolean autoStartup)
voidsetIgnoreDeclarationExceptions(boolean ignoreDeclarationExceptions)