Spec.QueueQueues store and forward messages. Queues can be configured in the server or created at runtime. Queues must be attached to at least one exchange in order to receive messages from publishers.
module Declare_ok : sig ... endThis method confirms a Declare method and confirms the name of the queue, essential for automatically-named queues.
module Declare : sig ... endThis method creates or checks a queue. When creating a new queue the client can specify various properties that control the durability of the queue and its contents, and the level of sharing for the queue.
module Bind_ok : sig ... endThis method confirms that the bind was successful.
module Bind : sig ... endThis method binds a queue to an exchange. Until a queue is bound it will not receive any messages. In a classic messaging model, store-and-forward queues are bound to a direct exchange and subscription queues are bound to a topic exchange.
module Unbind_ok : sig ... endThis method confirms that the unbind was successful.
module Unbind : sig ... endThis method unbinds a queue from an exchange.
module Purge_ok : sig ... endThis method confirms the purge of a queue.
module Purge : sig ... endThis method removes all messages from a queue which are not awaiting acknowledgment.
module Delete_ok : sig ... endThis method confirms the deletion of a queue.
module Delete : sig ... endThis method deletes a queue. When a queue is deleted any pending messages are sent to a dead-letter queue if this is defined in the server configuration, and all consumers on the queue are cancelled.