Creates queue Publisher
.
Creates queue Publisher
.
Publisher keeps track of all his subscribers so they can only have one active subscription. It also does necessary housekeeping related to the subscription life cycle. Every subscription has its own channel and is isolated from others. Returned instance is very lightweight and cheap to create.
Keep in mind that some Reactive Streams implementations like Akka Streams do their own buffering. Messages delivered to the buffer are considered delivered.
Name of the consumed queue.
Number of unacknowledged messages in flight. It's beneficial to have this number higher than 1 due to improved throughput. Setting this number to high may increase memory usage - depending on average message size and speed of subscribers.
Bind an exchange to an exchange.
Bind an exchange to an exchange.
the name of the exchange to which messages flow across the binding
the name of the exchange from which messages flow across the binding
the routine key to use for the binding
other properties (binding parameters)
Declare an exchange.
Declare an exchange. This invocation does nothing if exchange with identical parameters already exists.
Declare an exchange passively; that is, check if the named exchange exists.
Declare an exchange passively; that is, check if the named exchange exists.
the name of the exchange
Delete an exchange.
Delete an exchange.
the name of the exchange
true to indicate that the exchange is only to be deleted if it is unused
Unbind an exchange from an exchange.
Unbind an exchange from an exchange.
the name of the exchange to which messages flow across the binding
the name of the exchange from which messages flow across the binding
the routine key to use for the binding
Bind a queue to an exchange.
Bind a queue to an exchange.
the name of the queue
the name of the exchange
the routine key to use for the binding
other properties (binding parameters)
Actively declare a server-named, exclusive, auto-delete, non-durable queue.
Declare a queue.
Declare a queue. This invocation does nothing if queue with identical parameters already exists.
Declare a queue passively; i.e., check if it exist.
Declare a queue passively; i.e., check if it exist.
the name of the queue
Delete a queue.
Delete a queue.
true if the queue should be deleted only if not in use
true if the queue should be deleted only if empty
Purges the contents of the given queue.
Purges the contents of the given queue.
the name of the queue
Unbind a queue from an exchange.
Unbind a queue from an exchange.
the name of the queue
the name of the exchange
the routine key to use for the binding
Shutdowns underlying connection.
Shutdowns underlying connection.
Publishers and subscribers are terminated and notified via onError
.
This method waits for all close operations to complete.