amqp_pool v0.1.0 AMQPPool
AMQPPool manages a pool of AMQP channels for you to use.
You need to configure AMQPPool to tell it how to connect and set some pool settings.
# these are the same settings as for poolboy
config :amqp_pool, :pool_settings,
pool_size: 20,
max_overflow: 40
config :amqp_pool, :amqp_connection_settings,
username: "",
password: "",
host: "",
virtual_host: ""
AMQPPool exports one function for you to use: AMQPPool.Channel.with_channel/1
.