Interface Management
- All Superinterfaces:
AutoCloseable
API to manage AMQ 0.9.1 model topology (exchanges, queues, and bindings).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceSpecification of a binding.static interfaceSpecification of a classic queue.static enumClassic queue version.static interfaceDeprecated, for removal: This API element is subject to removal in a future version.static interfaceSpecification of an exchange.static enumExchange type.static enumOverflow strategy (when a queue reaches its maximum length limit).static interfacestatic interfaceDeprecated, for removal: This API element is subject to removal in a future version.usequeueDelete(String)insteadstatic interfaceQueue information.static enumQueue leader locator.static interfaceSpecification to create a queue.static enumQueue Type.static enumDead letter strategy for quorum queues.static interfaceSpecification of a quorum queue.static interfaceSpecification of a stream.static interfaceUnbind specification. -
Method Summary
Modifier and TypeMethodDescriptionbinding()Start binding specification.voidclose()Close the management instance and release its resources.exchange()Start exchange specification.Start exchange specification.voidexchangeDelete(String name) Delete an exchange.Deprecated, for removal: This API element is subject to removal in a future version.useexchangeDelete(String)insteadqueue()Start queue specification.Start queue specification.voidqueueDelete(String name) Delete a queue.Deprecated, for removal: This API element is subject to removal in a future version.usequeueDelete(String)insteadQuery information on a queue.queuePurge(String queue) Purge (delete all messages) from a queue.unbind()Start unbinding specification.
-
Method Details
-
queue
-
queue
Start queue specification.- Parameters:
name- the name of the queue- Returns:
- the queue specification
-
queueInfo
Query information on a queue.- Parameters:
name- the name of the queue- Returns:
- the queue information
-
queueDeletion
Deprecated, for removal: This API element is subject to removal in a future version.usequeueDelete(String)insteadDelete a queue.- Returns:
- the queue deletion
-
queueDelete
-
queuePurge
Purge (delete all messages) from a queue.- Parameters:
queue- queue to delete messages from- Returns:
- the status of the purge operation
-
exchange
Management.ExchangeSpecification exchange()Start exchange specification.- Returns:
- the exchange specification
-
exchange
Start exchange specification.- Parameters:
name- the name of the exchange- Returns:
- the exchange specification
-
exchangeDeletion
Deprecated, for removal: This API element is subject to removal in a future version.useexchangeDelete(String)insteadDelete an exchange.- Returns:
- the exchange deletion
-
exchangeDelete
-
binding
Management.BindingSpecification binding()Start binding specification.- Returns:
- the binding definition
-
unbind
Management.UnbindSpecification unbind()Start unbinding specification.- Returns:
- the unbinding specification
-
close
void close()Close the management instance and release its resources.- Specified by:
closein interfaceAutoCloseable
-
exchangeDelete(String)instead