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:[email protected]
