hello, I want to access ME properties in eip routing pattern, something like this: <eip:xpath-predicate xpath="($valid) = 'TRUE'"/>
I have searched the fourm, there is an article similar to this question: http://cwiki.apache.org/SM/discussion-forums.html#nabble-td4119013%7Ca4119013 http://cwiki.apache.org/SM/discussion-forums.html#nabble-td4119013%7Ca4119013 And this article has given tow ways to implement that: * create a custom predicate that can check a property on the exchange (with a regular expression maybe) * create an xpath function, configure it on the XPathPredicate and write a xpath expression using it But i'm a newer to servicemix, i don't how to implement the above two way. And i think there should be many situations where need to access ME properties in eip xpath. Can anyone give me some other easier way to implement this?Or, tell me more detail about the above two way? Thanks a lot! -- View this message in context: http://www.nabble.com/how-can-i-access-ME-properties-in-eip-routing-pattern-tp18691975p18691975.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
