Camel Splitter with Xpath recognizes namespace, but returns null

2011-08-09 Thread klua
Hi, I am using Camel's Spring DSL, to write a simple application, that takes xml, and splits it based on the xpath. It should be pretty straightforward; there is only one extra step that I have, which is declaring a namespace. The problem is that although xpath recognizes the element that I'm look

Re: Camel Testing Framework

2011-07-26 Thread klua
Hi, Sorry about that William. I fixed the problem. Here's the correct route. And here's my spring junit test code for the same. @EndpointInject(uri = "mock:static") protected MockEndpoint staticEndpointURI; @Test public void testStatic(){ String body = null;