[rabbitmq-discuss] Receiving Undelivered Persistent Messages
Vidit Drolia
viditdrolia at gmail.com
Tue Aug 11 15:16:15 BST 2009
Amit, Tony,
That fixed the problem. Thanks!
Regards,
Vidit
On Tue, Aug 11, 2009 at 7:31 AM, Tony Garnock-Jones<tonyg at lshift.net> wrote:
> amit bhatnagar wrote:
>> Vidit.
>> Check the consumer code.
>
> I think Amit's advice is right -- the code is, in a loop, creating
> connections and subscribing them to a queue. By the time the second
> connection is created, the first subscription will have been delivered
> all the messages asynchronously -- but there'll be no-one reading from
> that first subscription anymore. Take a look at the SimpleConsumer
> example:
> http://hg.rabbitmq.com/rabbitmq-java-client/file/default/test/src/com/rabbitmq/examples/SimpleConsumer.java
>
> Regards,
> Tony
> --
> [][][] Tony Garnock-Jones | Mob: +44 (0)7905 974 211
> [][] LShift Ltd | Tel: +44 (0)20 7729 7060
> [] [] http://www.lshift.net/ | Email: tonyg at lshift.net
>
More information about the rabbitmq-discuss
mailing list