rabbit_mq v0.0.0-alpha-10 RabbitMQ.Producer.State

The internal state held in the RabbitMQ.Producer server.

  • :connection; holds the dedicated AMQP.Connection.
  • :workers; the children started under the server. The server acts as a Supervisor. Enables round-robin command dispatch.
  • :worker_count; a simple worker count tracker. Used in round-robin command dispatch logic.
  • :worker_offset; a simple tracker to determine which worker to call next. Used in round-robin command dispatch logic.