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 &lt;

> osbtestmail1.2@

> &gt; 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 &lt;http://wso2.com&gt;*
> 
> *Phone: +94715478185*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> &lt;http://www.linkedin.com/in/bhathiyaj&gt;*
> *Twitter: https://twitter.com/bhathiyax
> &lt;https://twitter.com/bhathiyax&gt;*
> *Blog: http://movingaheadblog.blogspot.com
> &lt;http://movingaheadblog.blogspot.com/&gt;*
> 
> _______________________________________________
> 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

Reply via email to