qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Matos <bruno.ma...@paradigmaxis.pt>
Subject Re: MessageProperties - UserId
Date Fri, 10 Dec 2010 15:02:56 GMT
On Fri, 2010-12-10 at 09:01 -0500, Ted Ross wrote:
> On 12/10/2010 08:42 AM, Bruno Matos wrote:
> > Hi,
> >
> > I need to identify messages by user, but I need to customize the ID. Can
> > I use UserId field of MessageProperties class or is this automatically
> > set by the system?
> >
> > Thank you,
> > Bruno Matos
> >
> >
> > ---------------------------------------------------------------------
> > Apache Qpid - AMQP Messaging Implementation
> > Project:      http://qpid.apache.org
> > Use/Interact: mailto:users-subscribe@qpid.apache.org
> >
> You can set the userId in the message, but if you use a different ID 
> than was used to authenticate the connection, the broker will reject the 
> message.
> 
> This mechanism allows message receivers to trust the userId field 
> because it has been authenticated and vouched-for by the broker.
> 
> If you need to use it for a different purpose, you might consider adding 
> a new field to MessageProperties.application_headers.
> 
> -Ted
> 
> 
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
> 
> 

Thank you Ted, I will need to add a new field to message properties
then.



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message