[rabbitmq-discuss] Receiving Undelivered Persistent Messages
Tony Garnock-Jones
tonyg at lshift.net
Tue Aug 11 12:31:21 BST 2009
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