rabbitmq 1.0.0

Download zip

class: RabbitMqConsumer

[33:14] (extern: com.lehman.aussom.RabbitMqConsumer) extends: object

Synchronous pull consumer created with channel.consume(). The broker pushes deliveries into an internal buffer; receive() drains them one at a time on the calling thread. With manual acks (AutoAck false) plus qos(prefetch) on the channel, the broker never sends more than the prefetch window unacknowledged, so a slow consumer applies real back-pressure. Acknowledge through the received message (Msg.ack()) or the channel. Asynchronous push into callbacks goes through RabbitMqListener instead, which runs under the Aussom Server listener runtime.

Methods