[openamq-dev] mandatory routing and immediate delivery

Pieter Hintjens ph at imatix.com
Sat Oct 20 00:39:08 CEST 2007


On 10/19/07, R Hayes <rfhayes at reillyhayes.com> wrote:

> What does immediately mean?  The queue is empty?  The item is
> retrieved from the queue within a small time period?

Good question.  It's not fully defined in the AMQP spec.  The OpenAMQ
implementation is that if the queue has one or more ready consumers at
the time time the message arrives, that is "immediate".  Since OpenAMQ
does not use message acknowledgments, messages are sent to consumers
at top speed.  Thus in practice immediate means "queue has at least
one active consumer that is not blocked up because it's slow or
blocked".

In practice this works pretty well.

-Pieter


More information about the openamq-dev mailing list