wso2esb - How to compare the values of property in wso2 esb? -


how can compare values of property in wso2 esb i.e want filter operation if property2.value== property1.value should furthur processing else should drop. how not getting? please help. in advance.

here example of sequence comparing properties , executing 2 filters:

<property name="propertya" value="'abc'"/> <log level="custom">     <property name="propertya" expression="get-property('propertya')"/> </log> <property name="propertyb" value="'abc'"/> <log level="custom">     <property name="propertyb" expression="get-property('propertyb')"/> </log> <property name="propertycompare" expression="get-property('propertya') = get-property('propertyb')"/> <log level="custom">     <property name="propertycompare" expression="get-property('propertycompare')"/> </log> <filter  source="get-property('propertycompare')" regex="true">     <then>         <log level="custom">            <property name="filtera" expression="'worked'"/>          </log>     </then> </filter> <filter  xpath="get-property('propertya') = get-property('propertyb')">     <then>         <log level="custom">            <property name="filterb" expression="'worked'"/>          </log>     </then> </filter> 

Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -