TaskBunny v0.0.1-dev.5 TaskBunny.Consumer

Functions that work on RabbitMQ consumer

Summary

Functions

Acknowledges to the message

Opens a channel for the given connection and start consuming messages for the queue

Functions

ack(channel, meta, succeeded)
ack(%AMQP.Channel{conn: term, pid: term}, map, boolean) :: :ok

Acknowledges to the message.

consume(connection, queue, concurrency)
consume(struct, String.t, integer) ::
  {struct, String.t} |
  nil

Opens a channel for the given connection and start consuming messages for the queue.