Added again:
<inSequence>
<property name="corID" value="123456" scope="default"
type="STRING"/>
<send>
<endpoint key="gov:endpoint.xml"/>
</send>
</inSequence>
<outSequence>
<log>
<property name="corID_out"
expression="get-property('corID')"/>
</log>
</outSequence>
<faultSequence>
<log>
<property name="corID_error"
expression="get-property('corID')"/>
</log>
</faultSequence>
Bhathiya Jayasekara wrote
> What you have tried is not visible in the email.
>
> Thanks,
> Bhathiya
>
> On Mon, May 15, 2017 at 1:31 PM, Melodias <
> osbtestmail1.2@
> > wrote:
>
>> Hi,
>> I need to correlate request/response/fault.
>> I try some like this:
>>
>>
>>
>> This work, but only when message going through outSequence. When message
>> go
>> to faultSequence then corID = null.
>>
>> Any idea how to correlete message with faultSequence?
>>
>>
>>
>> --
>> View this message in context: http://wso2-oxygen-tank.10903.
>> n7.nabble.com/ESB-4-8-1-Correlation-ID-tp148918.html
>> Sent from the WSO2 Development mailing list archive at Nabble.com.
>> _______________________________________________
>> Dev mailing list
>>
> Dev@
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
>
> --
> *Bhathiya Jayasekara*
> *Associate Technical Lead,*
> *WSO2 inc., http://wso2.com <http://wso2.com>*
>
> *Phone: +94715478185*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> <http://www.linkedin.com/in/bhathiyaj>*
> *Twitter: https://twitter.com/bhathiyax
> <https://twitter.com/bhathiyax>*
> *Blog: http://movingaheadblog.blogspot.com
> <http://movingaheadblog.blogspot.com/>*
>
> _______________________________________________
> Dev mailing list
> Dev@
> http://wso2.org/cgi-bin/mailman/listinfo/dev
--
View this message in context:
http://wso2-oxygen-tank.10903.n7.nabble.com/ESB-4-8-1-Correlation-ID-tp148918p148920.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev