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 <osbtestmail...@gmail.com> 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 <hasi...@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

Reply via email to