I am using JDK1.7 with apache-activemq-5.13.2 which is using canel-core-5.13.2.
I am trying to route documents based on the value of an XML element. My test route should routes documents to the "when" folder when the author's name is "Bob" and it routes documents to the "otherwise" folder when the author's name does not match "Bob". The route worked great until I started added an xmlns containing a urn to the base element. As soon as I added the urn all documents when to the "otherwise" folder. Adding a xmlns containing a URL works. The documents that I expect to process will contain the URN. What must I do to get this CBR working? test1.xml will correctly route because it does NOT contain an URN in the base element. test2.xml will NOT route correctly because it does contain an URN in the base element. The "camel.xml" file contains my simple CBR". camel.xml <http://camel.465427.n5.nabble.com/file/n5783701/camel.xml> test1.xml <http://camel.465427.n5.nabble.com/file/n5783701/test1.xml> test2.xml <http://camel.465427.n5.nabble.com/file/n5783701/test2.xml> -- View this message in context: http://camel.465427.n5.nabble.com/XPath-Content-Based-Routine-Fails-when-urn-xmlns-is-specified-in-base-element-tp5783701.html Sent from the Camel - Users mailing list archive at Nabble.com.