rbmq v0.4.0 RBMQ.Producer behaviour

AMQP channel producer.

You must configure connection (queue and exchange) before calling publish/1 function.

Link to this section Summary

Callbacks

Publish new message to a linked channel

Link to this section Callbacks

Link to this callback publish()
publish() :: :ok | :error

Publish new message to a linked channel.

If channel is down it will keep trying to send message with 3 second timeout.