rbmq v0.4.0 RBMQ.Consumer behaviour

AMQP channel consumer.

TODO: take look at genevent and defimpl Stream (use as Stream) for consumers.

Link to this section Summary

Callbacks

Receiver of messages

Link to this section Callbacks

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

Receiver of messages.

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