package amqp-client-async

  1. Overview
  2. Docs

This method confirms a Declare method and confirms the name of the queue, essential for automatically-named queues.

type t = {
  1. queue : queue_name;
    (*

    Reports the name of the queue. If the server generated a queue name, this field contains that name.

    *)
  2. message_count : message_count;
  3. consumer_count : Amqp_client_lib.Types.long;
    (*

    Reports the number of active consumers for the queue. Note that consumers can suspend activity (Channel.Flow) in which case they do not appear in this count.

    *)
}
val init : queue:queue_name -> message_count:message_count -> consumer_count:Amqp_client_lib.Types.long -> unit -> t
OCaml

Innovation. Community. Security.