Methods

Bunny::Consumer

AMQP consumers are entities that handle messages delivered to them ("push API" as opposed to "pull API") by AMQP broker. Every consumer is associated with a queue. Consumers can be exclusive (no other consumers can be registered for the same queue) or not (consumers share the queue). In the case of multiple consumers per queue, messages are distributed in round robin manner with respect to channel-level prefetch setting).

Public Class Methods

new(*args) click to toggle source
# File lib/bunny/consumer.rb, line 27
def initialize(*args)
  super(*args)
  @consumer_tag ||= (1..32).to_a.shuffle.join
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.