[rabbitmq-discuss] Durable subscriptions in Java

Michael Klishin mklishin at gopivotal.com
Fri Feb 7 09:45:45 GMT 2014


On 7 Feb 2014, at 13:16, Tomas Tulka <tomas.tulka at atos.net> wrote:

> But in both cases when the producer stops producing, any consumer can't
> consume anything no longer.

If there are no more messages in the queue, this is expected (consumer keeps up with
the producer).

> It means when the producer and the consumer are not parallel (but in the
> sequence) no messages are delivered. 

Do they run in the same JVM?
It’s impossible to tell what the issue is without seeing your code.

RabbitMQ Java client dispatches delivered messages to a thread pool.
It should not affect publishers.

MK

Software Engineer, Pivotal/RabbitMQ




More information about the rabbitmq-discuss mailing list