Amqp::Subscription
A live consumer registration. Iterate over receive to consume.
When the broker cancels the consumer (e.g., queue deleted) or the
channel closes, receive raises SubscriptionClosed.
Instance methods
channel
Sourceclose
Sourceclosed?
Sourceconsumer_tag
Sourceeach
Sourcequeue
Sourcereceive
Sourcereceive?
Sourcereceive_select_action?
Sourcespawn_loop
Source