Hi Himasha, Although documentation show XML configurations as follows.
<!-- filtering of messages with XPath and regex matches --> <filter source="get-property('To')" regex=".*/StockQuote.*"> There is a small mistake in synapse configuration(synapse_sample_50.xml file) resides in <ESB_HOME>/repository/samples directory. change the regex in the below line <filter source="get-property('To')" regex="./StockQuote."> to <filter source="get-property('To')" regex=".*/StockQuote.*"> as required * are missing in the regex. On Mon, Sep 29, 2014 at 12:34 PM, Himasha Guruge <himas...@wso2.com> wrote: > Hi All, > > While running sample 50[1] under heading advanced mediation with > endpoints, ESB sample console gives the following error [2014-09-29 > 11:30:06,286] DEBUG - FilterMediator Source : get-property('To') against : > ./StockQuote. does not match - skipping child mediators > > > When the filter mediator is removed from the configuration file, it is > working fine.Did anyone else come across this issue? > > [1.] > https://docs.wso2.com/display/ESB481/Sample+50%3A+POX+to+SOAP+conversion > > Thanks & Regards, > > Himasha Guruge > *Software Engineer* > WS*O2* *Inc.* > Mobile: +94 777459299 > himas...@wso2.com > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Vijitha Ekanayake Software Engineer*, *WSO2, Inc.; http://wso2.com/ Mobile : +94 777 24 73 39 | +94 718 74 44 08 lean.enterprise.middleware
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev