Package com.rabbitmq.client.amqp
Interface Management
- All Superinterfaces:
AutoCloseable
API to manage AMQ 0.9.1 model topology (exchanges, queues, and bindings).
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Specification of a binding.static interface
Specification of a classic queue.static enum
Classic queue version.static interface
Exchange deletion.static interface
Specification of an exchange.static enum
Exchange type.static enum
Overflow strategy (when a queue reaches its maximum length limit).static interface
Queue deletion.static interface
Queue information.static enum
Queue leader locator.static interface
Specification to create a queue.static enum
Queue Type.static enum
Dead letter strategy for quorum queues.static interface
Specification of a quorum queue.static interface
Specification of a stream.static interface
Unbind specification. -
Method Summary
Modifier and TypeMethodDescriptionbinding()
Start binding specification.void
close()
Close the management instance and release its resources.exchange()
Start exchange specification.Start exchange specification.Delete an exchange.queue()
Start queue specification.Start queue specification.Delete a queue.Query information on a queue.unbind()
Start unbinding specification.
-
Method Details
-
queue
Management.QueueSpecification queue()Start queue specification.- Returns:
- the queue specification
-
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
Management.QueueDeletion queueDeletion()Delete a queue.- Returns:
- the queue deletion
-
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
Management.ExchangeDeletion exchangeDeletion()Delete an exchange.- Returns:
- the exchange deletion
-
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:
close
in interfaceAutoCloseable
-