Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.7.0
Description
It is not possible to do an XQuery filter on a file source:
<route>
<from uri='ftp://username@localhost/?password=password'/>
<choice>
<when>
<xquery>/root[@name='James']</xquery>
<to uri="jmq:SomeQueue"/>
</when>
<otherwise>
<rollback/>
<otherwise>
</choice>
</route>
It works if you use <xpath> instead of <xquery> but I need the XPath 2.0 support available in <xquery> do to date/time processing.