Bind this queue to an exchange.
this for chaining
Delete this queue.
Optionalparams: { ifEmpty?: boolean; ifUnused?: boolean }OptionalifEmpty?: booleanonly delete if the queue is empty
OptionalifUnused?: booleanonly delete if the queue has no consumers
Poll the queue for a single message.
Optionalparams: { noAck?: boolean }OptionalnoAck?: booleanautomatically acknowledge on delivery
Publish a message directly to this queue (via the default exchange).
this for chaining
Purge all messages from this queue.
Subscribe with a callback. Messages are acked after the callback returns, nacked on error.
Subscribe with a callback and custom params.
Subscribe via an async iterator. Messages continue yielding across reconnections.
Optionalparams: QueueSubscribeParamsRemove a binding between this queue and an exchange.
this for chaining
High-level queue handle returned by AMQPSession#queue.
All operations are reconnect-safe: they acquire a session channel on each call, so they work transparently after a reconnection.
subscribeprovides automatic consumer recovery.publishwaits for a broker confirm; use Pass{ confirm: false }to skip the wait.