rabbit_mq v0.0.0-alpha-11 RabbitMQ.Producer.Worker
The single Producer worker used to publish messages onto an exchange.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Starts this module as a process via GenServer.start_link/2
.
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
.
Starts this module as a process via GenServer.start_link/2
.
Only used by the parent module which acts as a Supervisor
.
Link to this function
terminate(reason, state)
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.