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

Simon MacMullen simon at rabbitmq.com
Mon Nov 4 17:00:41 GMT 2013

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

More information about the rabbitmq-discuss mailing list