public interface AmqpAdmin
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.String |
declareQueue(Queue queue)
Declare the given queue
|
boolean |
deleteExchange(java.lang.String exchangeName)
Delete an exchange.
|
boolean |
deleteQueue(java.lang.String queueName)
Delete a queue, without regard for whether it is in use or has messages on it
|
void |
deleteQueue(java.lang.String queueName,
boolean unused,
boolean empty)
Delete a queue
|
java.util.Properties |
getQueueProperties(java.lang.String queueName)
Returns an implementation-specific Map of properties if the queue exists.
|
void |
purgeQueue(java.lang.String queueName,
boolean noWait)
Purges the contents of the given queue.
|
void |
removeBinding(Binding binding)
Remove a binding of a queue to an exchange.
|
void declareExchange(Exchange exchange)
exchange - the exchange to declare.boolean deleteExchange(java.lang.String exchangeName)
exchangeName - the name of the exchangeQueue declareQueue()
java.lang.String declareQueue(Queue queue)
queue - the queue to declareboolean deleteQueue(java.lang.String queueName)
queueName - the name of the queuevoid deleteQueue(java.lang.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(java.lang.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.java.util.Properties getQueueProperties(java.lang.String queueName)
queueName - the name of the queue.