Re: [Dev] How to correlate message?
Hi, Yes, messageID for in and out messages are different and It is not recommended to make alterations to it. Your approach is correct when correlating in and out messages. If you set a property as inside inSquence, you can get it in outSequence as I've obtained it even with soapFault occured, due to the backend error. Thanks Sudharma On Mon, Jul 10, 2017 at 2:37 PM, Melodias wrote: > Hi, > > I was try it and that doesn't work. InSequence and outSequence has > different > ID: > IN = urn:uuid:9472d761-0148-4b4d-9fd1-80d426ed9f15 > OUT = urn:uuid:d7fc77ec-2bb8-4508-9dfc-358f2de625cc > > > > -- > View this message in context: http://wso2-oxygen-tank.10903. > n7.nabble.com/How-to-correlate-message-in-ESB-tp150139p150143.html > Sent from the WSO2 Development mailing list archive at Nabble.com. > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > -- Sudharma Subasinghe, Software Engineer, WSO2 Inc. Email: sudhar...@wso2.com Mobile : +94 710 565 157 <%2B94%20718%20210%20200> ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to correlate message?
Hi, I was try it and that doesn't work. InSequence and outSequence has different ID: IN = urn:uuid:9472d761-0148-4b4d-9fd1-80d426ed9f15 OUT = urn:uuid:d7fc77ec-2bb8-4508-9dfc-358f2de625cc -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/How-to-correlate-message-in-ESB-tp150139p150143.html Sent from the WSO2 Development mailing list archive at Nabble.com. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to correlate message?
Hi, Can you try org.apache.axis2.context.MessageContext a2mc = ((Axis2MessageContext) synCtx).getAxis2MessageContext(); a2mc.getMessageID(); inside your custom mediator class to obtain the ID? On Mon, Jul 10, 2017 at 1:26 PM, Melodias wrote: > Hi devs, > > How I can correlate message? > To correlate IN and OUT message i can set properties with uniq string, but > when i get fault message from the endpoint, then properties is null. > Is there some special ID in message context which I can get by using class > mediator? > > > > -- > View this message in context: http://wso2-oxygen-tank.10903. > n7.nabble.com/How-to-correlate-message-tp150139.html > Sent from the WSO2 Development mailing list archive at Nabble.com. > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > -- Sudharma Subasinghe, Software Engineer, WSO2 Inc. Email: sudhar...@wso2.com Mobile : +94 710 565 157 <%2B94%20718%20210%20200> ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] How to correlate message?
Hi devs, How I can correlate message? To correlate IN and OUT message i can set properties with uniq string, but when i get fault message from the endpoint, then properties is null. Is there some special ID in message context which I can get by using class mediator? -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/How-to-correlate-message-tp150139.html Sent from the WSO2 Development mailing list archive at Nabble.com. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev