public interface AmqpManagementOperations
| Modifier and Type | Method and Description |
|---|---|
void |
addExchange(Exchange exchange)
Add an exchange to the default vhost ('/').
|
void |
addExchange(String vhost,
Exchange exchange)
Add an exchange to the specified vhost.
|
void |
addQueue(Queue queue)
Add a queue to the default vhost ('/').
|
void |
addQueue(String vhost,
Queue queue)
Add a queue to the specified vhost.
|
void |
deleteExchange(Exchange exchange)
Delete an exchange from the default vhost ('/').
|
void |
deleteExchange(String vhost,
Exchange exchange)
Delete an exchange from the provided vhost.
|
void |
deleteQueue(Queue queue)
Delete a queue from the default vhost ('/').
|
void |
deleteQueue(String vhost,
Queue queue)
Delete a queue from the provided vhost.
|
List<Binding> |
getBindings()
Get all bindings.
|
List<Binding> |
getBindings(String vhost)
Get all bindings in the provided vhost.
|
List<Binding> |
getBindingsForExchange(String vhost,
String exchange)
Get all bindings from the provided exchange in the provided vhost.
|
Exchange |
getExchange(String name)
Get a specific queue from the default vhost ('/').
|
Exchange |
getExchange(String vhost,
String name)
Get a specific exchange from the provided vhost.
|
List<Exchange> |
getExchanges()
Get all exchanges.
|
List<Exchange> |
getExchanges(String vhost)
Get all exchanges in the provided vhost.
|
Queue |
getQueue(String name)
Get a specific queue from the default vhost ('/').
|
Queue |
getQueue(String vhost,
String name)
Get a specific queue from the provided vhost.
|
List<Queue> |
getQueues()
Get all queues.
|
List<Queue> |
getQueues(String vhost)
Get all queues in the provided vhost.
|
void |
purgeQueue(Queue queue)
Purge a queue in the default vhost ('/').
|
void |
purgeQueue(String vhost,
Queue queue)
Purge a queue in the provided vhost.
|
void addExchange(Exchange exchange)
exchange - the exchange.void addExchange(String vhost, Exchange exchange)
vhost - the vhost.exchange - the exchange.void purgeQueue(Queue queue)
queue - the queue.void purgeQueue(String vhost, Queue queue)
vhost - the vhost.queue - the queue.void deleteQueue(Queue queue)
queue - the queue.void deleteQueue(String vhost, Queue queue)
vhost - the vhost.queue - the queue.Queue getQueue(String name)
name - the queue name.Queue getQueue(String vhost, String name)
vhost - the vhost.name - the queue name.List<Queue> getQueues(String vhost)
vhost - the vhost.void addQueue(Queue queue)
queue - the queue.void addQueue(String vhost, Queue queue)
vhost - the vhost.queue - the queue.void deleteExchange(Exchange exchange)
exchange - the queue.void deleteExchange(String vhost, Exchange exchange)
vhost - the vhost.exchange - the queue.Exchange getExchange(String name)
name - the exchange name.Exchange getExchange(String vhost, String name)
vhost - the vhost.name - the exchange name.List<Exchange> getExchanges(String vhost)
DirectExchange,
FanoutExchange, HeadersExchange and TopicExchanges
are returned.vhost - the vhost.List<Binding> getBindings(String vhost)
vhost - the vhost.