|
Spring AMQP | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AmqpAdmin
Specifies a basic set of portable AMQP administrative operations for AMQP > 0.8
Method Summary | |
---|---|
void |
declareBinding(Binding binding)
Declare a binding of a queue to an exchange. |
void |
declareExchange(Exchange exchange)
Declare an exchange |
Queue |
declareQueue()
Declare a queue whose name is automatically named. |
void |
declareQueue(Queue queue)
Declare the given queue |
boolean |
deleteExchange(String exchangeName)
Delete an exchange. |
boolean |
deleteQueue(String queueName)
Delete a queue, without regard for whether it is in use or has messages on it |
void |
deleteQueue(String queueName,
boolean unused,
boolean empty)
Delete a queue |
void |
purgeQueue(String queueName,
boolean noWait)
Purges the contents of the given queue. |
void |
removeBinding(Binding binding)
Remove a binding of a queue to an exchange. |
Method Detail |
---|
void declareExchange(Exchange exchange)
exchange
- the exchange to declare.boolean deleteExchange(String exchangeName)
exchangeName
- the name of the exchange
Queue declareQueue()
void declareQueue(Queue queue)
queue
- the queue to declareboolean deleteQueue(String queueName)
queueName
- the name of the queue
void deleteQueue(String queueName, boolean unused, boolean empty)
queueName
- the name of the queueunused
- true if the queue should be deleted only if not in useempty
- true if the queue should be deleted only if emptyvoid purgeQueue(String queueName, boolean noWait)
queueName
- the name of the queuenoWait
- true to not await completion of the purgevoid declareBinding(Binding binding)
binding
- a description of the binding to declare.void removeBinding(Binding binding)
binding
- a description of the binding to remove.
|
Spring AMQP | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |