[rabbitmq-discuss] How to determine originator of a message?

m.luchak at smartasking.com m.luchak at smartasking.com
Tue Aug 14 13:33:05 BST 2012

You can use props to tag msgs anyway you like..

 AMQP.BasicProperties props = new AMQP.BasicProperties();
 BasicProperties.Builder prop = props.builder();
-----Original Message-----
From: "Emile Joubert" <emile at rabbitmq.com>
Sent: Tuesday, August 14, 2012 3:18am
To: "Discussions about RabbitMQ" <rabbitmq-discuss at lists.rabbitmq.com>
Cc: "PC" <paddy.carman at gmail.com>
Subject: Re: [rabbitmq-discuss] How to determine originator of a message?


On 13/08/12 17:55, PC wrote:
>     When a message is received at a client for a particular topic (or
> queue), is it possible to determine who was the originator of the message?

No, not unless the the publisher annotated the message in some way, but
publishers are under no obligation to disclose their identity. The
broker will validate the user-id property in messages, if the publisher
chooses to disclose its identity using that property. See



rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120814/2e37b08f/attachment.htm>

More information about the rabbitmq-discuss mailing list