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: Message and connection ID
Date Wed, 15 Dec 2010 14:20:25 GMT
On Wed, 2010-12-15 at 13:18 +0000, Gordon Sim wrote:
> On 12/15/2010 01:07 PM, Bruno Matos wrote:
> > The connection ID can be
> > something generated in broker side, a hash a sequence number generator
> > or something like that.
> 
> Out of curiosity, how would that be used?
> 

:)

Would be used as a token, to identify the pair (user,session) to ensure
that every reply is written for the right place and to store user
history in a database.

I was thinking having an handle for each connection request, give it an
ID, store that in a hashtable or something similar and, for each
incoming message, write the ID in message's application headers.

Regards,
Bruno Matos


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


Mime
View raw message