channel this queue was declared on
name of the queue
Bind the queue to an exchange
Delete the queue
Poll the queue for messages
Optional
noAck?: booleanautomatically acknowledge messages when received
Publish a message directly to the queue
the data to be published, can be a string or an uint8array
publish properties
fulfilled when the message is enqueue on the socket, or if publish confirm is enabled when the message is confirmed by the server
Subscribe to the queue
Optional
args?: Record<string, any>custom arguments
Optional
exclusive?: booleanif this can be the only consumer of the queue, will return an Error if there are other consumers to the queue already
Optional
noAck?: booleanif messages are removed from the server upon delivery, or have to be acknowledged
Optional
tag?: stringtag of the consumer, will be server generated if left empty
Function to be called for each received message
Delete a binding between this queue and an exchange
Convenience class for queues