Michele

I believe you could assume the msgId is unique at the server and use it.
Doing a counter will imply a synchronized creation and might well slow your
service down.

Paul

On Nov 9, 2007 10:00 AM, Michele Mazzucco <[EMAIL PROTECTED]>
wrote:

> Paul,
>
> thanks for the reply.
> One more question: when is the messageID created?, before the message is
> sent or when the message is received?
> I need to store some data in a map (on the server side) and I would like
> to use the messageID as key However, if the messageID is generated on
> the client side, it's probably better to create a fresh key (i.e. using
> a counter), isn't it?
>
> Thanks,
> Michele
>
> On Thu, 2007-11-08 at 18:20 +0000, Paul Fremantle wrote:
> > Yes the UUIDs used in messageID should be unique inside the same JVM.
> > We did have a problem with UUIDs not being unique at one point (it
> > came up when we did load tests of Synapse). I know we did a fix in
> > Synapse but I'm pretty certain this filtered into Axis2 as well.
> >
> > I believe they should be Universally Unique (i.e. unique OUTSIDE just
> > a JVM as well) but that's harder to ensure.
> >
> > Paul
> >
> > On Nov 8, 2007 5:55 PM, Michele Mazzucco <[EMAIL PROTECTED]>
> > wrote:
> >         Hi all,
> >
> >         when is the message id set?, is it guaranteed to be unique
> >         inside the
> >         same JVM (receiver side)?
> >
> >
> >         Thanks,
> >         Michele
> >
> >
> ---------------------------------------------------------------------
> >         To unsubscribe, e-mail: [EMAIL PROTECTED]
> >         For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > --
> > Paul Fremantle
> > Co-Founder and VP of Technical Sales, WSO2
> > OASIS WS-RX TC Co-chair
> >
> > blog: http://pzf.fremantle.org
> > [EMAIL PROTECTED]
> >
> > "Oxygenating the Web Service Platform", www.wso2.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

Reply via email to