[rabbitmq-discuss] Temp Queues

Gil Strauss gil.strauss at gmail.com
Sun Oct 23 19:45:48 BST 2011


I'm using the same Java client as the one being used in the tutorials.

How can I get a reference in the client to the queue I've published
the message to?


Thanks,

Gil

On Oct 23, 8:36 pm, Alvaro Videla <videlalv... at gmail.com> wrote:
> Hi,
>
> I don't know which client are you using but this call:
>
> > val queueName = channel.queueDeclare().getQueue()
>
> On the subscriber suggests that you are creating a new queue. So that queue won't have the message sent by the publisher.
>
> Make sure you are declaring the same queue on both sides.
>
> Cheers,
>
> Alvaro
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list