Use sys.property in xpath filter

View: New views
1 Messages — Rating Filter:   Alert me  

Use sys.property in xpath filter

by bhusted :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is it possible to refer to a Java System property in a camel:xpath filter?

For example:

<camel:filter>
   <camel:xpath>/myns:SomeTag = ${sys.SomeSystemProp}</camel:xpath>
</camel:filter>


Any suggestions if this isn't possible for combining xpath and expression language would be REALLY helpful.

Thanks