Which version of ServiceMix &* Camel are you using? 2008/5/9 Justin Stewart <[EMAIL PROTECTED]>: > > Hi, all. > I am getting using a servicemix-camel service unit to route a simple XML > message to another service unit. The XML message is simple: > > <?xml version="1.0"?> > <test> > <here/> > </test> > > The camelContext is equally simple: > <camelContext id="camel" > xmlns="http://activemq.apache.org/camel/schema/spring"> > <route> > <from uri="jbi:service:urn:cameltest:router1"/> > <to uri="jbi:service:urn:cameltest:CamelService1" /> > </route> > </camelContext> > > This works with no problem. The target service unit gets the xml document > in the MessageExchange In message. However, when I try to add an xpath > filter, I get a problem. Here's the new camelContext: > > <camelContext id="camel" > xmlns="http://activemq.apache.org/camel/schema/spring"> > <route> > <from uri="jbi:service:urn:cameltest:router1"/> > <filter> > <xpath>/test</xpath> > <to uri="jbi:service:urn:cameltest:CamelService1" /> > </filter> > </route> > </camelContext> > > The target service unit is routed to properly, but the XML payload is gone - > the MessageExchange In message is empty. Does anyone know the problem here? > > Thanks. > Justin > -- > View this message in context: > http://www.nabble.com/servicemix-camel-xpath-filter-problem-tp17150929p17150929.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > >
-- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com
