Alan Conway wrote:
Shan Wang wrote:
Hi All,

According to the document, normally a listener of a publish/subscribe
kind of exchange can only receive messages after it begins running. Is
there any way to let the listeners receive all the messages ever sent by
producer?

Basically what I need is to have multiple listeners subscribe to the
same queue and each receive exact the same messages sent by the
producer. It does seem to be possible using QPID.

You can have your subscribers browse rather than consume from the queue. That way messages are never removed from the queue and are still available to new subscribers. Of course the queue will grow without limit but I gather that's what you want.

Queue depth can be limited with the ring policy or TTL

Carl.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to