Just a quick heads up; as part of this issue...
https://issues.apache.org/activemq/browse/CAMEL-181
we've now got a much more improved Java DSL for working with
expressions. For example if you type
from("activemq:SomeQueue").filter().
your IDE should show you a smart completed list of the various
expression languages you could choose to use. In particular when using
XPath or XQuery we now also have helper methods to smart complete the
use of namespaces.
There are some examples here...
http://cwiki.apache.org/CAMEL/xpath.html
http://cwiki.apache.org/CAMEL/xquery.html
you can also now use XML to configure the XPath/XQuery expressions and
reuse the namespace prefixes of the XML document inside the
expressions as shown in the pages above.
As always, feedback greatly appreciated.
--
James
-------
http://macstrac.blogspot.com/
Open Source SOA
http://open.iona.com