rabbit_mq v0.0.17 RabbitMQ.Connection

Convenience to open and maintain a AMQP.Connection.

Should be started under a Supervisor.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Retrieves the AMQP.Connection from a given RabbitMQ.Connection server.

Invoked when the server is about to exit. It should do any cleanup required. See https://hexdocs.pm/elixir/GenServer.html#c:terminate/2 for more details.

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Retrieves the AMQP.Connection from a given RabbitMQ.Connection server.

Link to this function

start_link(opts)

start_link(keyword()) :: GenServer.on_start()
Link to this function

terminate(reason, connection)

Invoked when the server is about to exit. It should do any cleanup required. See https://hexdocs.pm/elixir/GenServer.html#c:terminate/2 for more details.