AMQPX v1.0.0 AMQPX.ConnectionPool View Source
A pool of connections for shared use.
AMQPX encourages using multiple channels per TCP connection instead of multiple connections, wherever possible.
AMQPX.ConnectionPool
stores open connections that other modules can retrieve from it.
Configuration
config :ulfnet_amqpx, connections: %{name => url}
Link to this section Summary
Link to this section Functions
Link to this function
get(name, timeout \\ :infinity)
View Source
get(name :: atom(), timeout :: integer() | :infinity) :: {:ok, AMQP.Connection.t()} | {:error, reason :: any()}
Fetch a connection by its name.
Register a connection config outside of sys.config
.