qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Conway <acon...@redhat.com>
Subject Re: Is it possible to use a pub/sub exchange but let the listener receive all messages the producer sent
Date Wed, 01 Apr 2009 12:27:38 GMT
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.

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org

View raw message