Hi All,

I am running examples provided with WSO2 ESB to get familiar with it.

Sample 1 [1
<https://docs.wso2.com/display/ESB481/Sample+1%3A+Simple+Content-Based+Routing+%28CBR%29+of+Messages>],
explains how to use a filter mediator. The filter used is as follows

<filter source="get-property('To')" regex=".*/StockQuote.*">

As per the documentation, this filters the To EPR of the message, that
means, the "To" property of the soap header of the message as I understood.

But, when I checked the input soap message (I used a log mediator to log
the incoming message), the soap header does not have a "To" property. The
soap header of the message is given bellow. But, the message somehow gets
routed to the Axis2 service.

<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing";>
        
<wsa:MessageID>urn:uuid:7479f6f7-d302-41f1-a7de-4b35f64ad366</wsa:MessageID>
        <wsa:Action>urn:getQuote</wsa:Action></soapenv:Header>



Can somebody please explain how this happens?

Thanks.

[1]
https://docs.wso2.com/display/ESB481/Sample+1%3A+Simple+Content-Based+Routing+%28CBR%29+of+Messages
-- 
Lahiru Chandima
*Senior Software Engineer*
Mobile : +94 (0) 772 253283
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to