On Thu, Oct 7, 2010 at 12:03 PM, Andreas Veithen <[email protected]> wrote: > Yes, UIDGenerator.generateURNString() is the right method to use for > message IDs. The Synapse UUIDGenerator should indeed be > removed/deprecated for the same reasons as the UUIDGenerator in Axiom.
Great. I'll do the changes. Thanks, Hiranya > > Andreas > > On Wed, Oct 6, 2010 at 19:53, Hiranya Jayathilaka <[email protected]> > wrote: >> On Wed, Oct 6, 2010 at 5:42 AM, Ruwan Linton <[email protected]> wrote: >>> +1, please do this change into the branch as well. >> >> Will do. >> >> I also noticed that in certain places we use a UUIDGenerator >> implementation in Synapse. The javadocs of this class says: >> >> "This is a thread-safe version of the Axiom UUIDGenerator to be used >> until it is fixed in the next Axiom release" >> >> So I think now we can use the new UIDGenerator from Axiom and retire >> the Synapse UUIDGenerator. Andreas, can you please verify this? Is it >> ok to switch? >> >> Thanks, >> Hiranya >> >>> Ruwan >>> >>> On Wed, Oct 6, 2010 at 3:14 AM, Hiranya Jayathilaka <[email protected]> >>> wrote: >>>> >>>> Hi, >>>> >>>> The ServerWorker impl of the NHTTP transport uses the deprecated >>>> UUIDGenerator from Axiom to generate message IDs. The proper way of >>>> doing this is by using the new UIDGenerator (see [1] for details). The >>>> IDs generated by the two are slightly different in structure: >>>> >>>> UUIDGenerator (deprecated): urn:uuid:ADC550543A84B984B31286224511085 >>>> UIDGenerator: urn:uuid:68b32f40-70e0-4907-b053-7b6e694c6b02 >>>> >>>> In fact IDs generated by UUIDGenerator are not standard compliant and >>>> it could cause interop issues. So shall we modify the ServerWorker to >>>> use the new UIDGenerator? >>>> >>>> Thanks, >>>> Hiranya >>>> >>>> [1] - https://issues.apache.org/jira/browse/AXIS2-4527 >>>> >>>> -- >>>> Hiranya Jayathilaka >>>> Senior Software Engineer; >>>> WSO2 Inc.; http://wso2.org >>>> E-mail: [email protected]; Mobile: +94 77 633 3491 >>>> Blog: http://techfeast-hiranya.blogspot.com >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>> >>> >>> >>> -- >>> Ruwan Linton >>> Software Architect & Product Manager, WSO2 ESB; http://wso2.org/esb >>> WSO2 Inc.; http://wso2.org >>> >>> Lean . Enterprise . Middleware >>> >>> phone: +1 408 754 7388 ext 51789 >>> email: [email protected]; cell: +94 77 341 3097 >>> blog: http://blog.ruwan.org >>> linkedin: http://www.linkedin.com/in/ruwanlinton >>> google: http://www.google.com/profiles/ruwan.linton >>> tweet: http://twitter.com/ruwanlinton >>> >> >> >> >> -- >> Hiranya Jayathilaka >> Senior Software Engineer; >> WSO2 Inc.; http://wso2.org >> E-mail: [email protected]; Mobile: +94 77 633 3491 >> Blog: http://techfeast-hiranya.blogspot.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Hiranya Jayathilaka Senior Software Engineer; WSO2 Inc.; http://wso2.org E-mail: [email protected]; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
