TaskBunny v0.3.4 TaskBunny.PublisherWorker View Source
GenServer worker to publish a message on a queue
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Attempt to get a channel for the current connection and publish the message on the specified queue
Initializes the GenServer
Starts the publisher
Closes the AMQP channels opened to publish
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Attempt to get a channel for the current connection and publish the message on the specified queue
Initializes the GenServer
Starts the publisher
Closes the AMQP channels opened to publish