[rabbitmq-discuss] consuming a message from exchange does not seem to work on java client (3.2.0 as well as 3.1.5)

Murugesan Guruswamy murugesan at elementum.com
Mon Nov 4 17:04:35 GMT 2013


But I am actually creating a durable exchange when publishing. Shouldn't it leave the messages in the exchange. Why should the messages be dropped?

I am publishing first to the exchange which is durable.

On Nov 4, 2013, at 9:00 AM, Simon MacMullen <simon at rabbitmq.com> wrote:

> On 04/11/2013 4:41PM, Murugesan Guruswamy wrote:
>> I am using "test.abc" as routing key for both Publish and consume. I had
>> put the comments below on what values are used for queueName, routingKey
>> and exchangeName. For basicPublish, I am not using any queue.bind since
>> this is publishing to exchange.
> Your code overall looks like it should work.
> Are you publishing before the consumer app has ever been run (and thus at a point when the queue / binding does not exist?) If so, the message will be dropped.
> Cheers, Simon
> -- 
> Simon MacMullen
> RabbitMQ, Pivotal


Legal Disclaimer: The information contained in this message may be 
privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice 
that any distribution of this message, in any form, is strictly prohibited. 
If you have received this message in error, please immediately notify the 
sender and delete or destroy any copy of this message 

More information about the rabbitmq-discuss mailing list