Re: Help to understand xpath expression in camel routebuilder

2009-12-16 Thread Kenneth H
This is the consumer which the messages is sent to: jms:consumer service=fork:terrorReceiver endpoint=jmsEndpoint targetService=fork:terrorDSLRouter destinationName=terror.in connectionFactory=#connectionFactory marshaler=#TerrorJMSMarshaler/ The

Re: Help to understand xpath expression in camel routebuilder

2009-12-16 Thread Kenneth H
janstey wrote: Have you created a mapping file for your custom class? You need to provide JiBX with a mapping file so it knows how to do the marshalling. In the article, they've defined one for their classes in InsuranceSMDZone/jibx/InsuranceMapping.xml You got me there, I haven't

Re: Help to understand xpath expression in camel routebuilder

2009-12-16 Thread Kenneth H
Have you created a mapping file for your custom class? You need to provide JiBX with a mapping file so it knows how to do the marshalling. In the article, they've defined one for their classes in InsuranceSMDZone/jibx/InsuranceMapping.xml You got me there, I haven't included this file. Do you

Re: Help to understand xpath expression in camel routebuilder

2009-12-16 Thread Kenneth H
- sorry for all the posts Jon... If you look at the original Ant build file, you see: target name=deploy-insurance description=Deploy the insurance example echo message=Creating insurance service units / antcall target=gn:create-serviceunit

Re: Help to understand xpath expression in camel routebuilder

2009-12-16 Thread Kenneth H
- sorry for all the posts Jon... If you look at the original Ant build file, you see (. infront of param is to make sure the whole post is shown): target name=deploy-insurance description=Deploy the insurance example echo message=Creating insurance service units / antcall

Re: Help to understand xpath expression in camel routebuilder

2009-12-16 Thread Kenneth H
janstey wrote: Hmm... JBI deployment question eh... not really sure how to help you off the top of my head to be honest! Maybe try us...@servicemix.apache.org? I'll try there and maybe also some Maven-folks :) -- View this message in context:

Re: Help to understand xpath expression in camel routebuilder

2009-12-15 Thread Kenneth H
(//ins:TravelInsuranceRequest).namespace ins,http://dzone.com/insurance;)) print(travelRequest); .when(travelRequest).to(LUXURY_CAR_OUT); Kind regards, Kenneth H -- View this message in context: http://old.nabble.com/Help-to-understand-xpath-expression-in-camel-routebuilder-tp26779963p26794573

Re: Help to understand xpath expression in camel routebuilder

2009-12-15 Thread Kenneth H
or objects. Kend regards, Kenneth H -- View this message in context: http://old.nabble.com/Help-to-understand-xpath-expression-in-camel-routebuilder-tp26779963p26795823.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Help to understand xpath expression in camel routebuilder

2009-12-15 Thread Kenneth H
On Tue, Dec 15, 2009 at 11:26 AM, Kenneth H phecda...@gmail.com wrote: 1. Where can I read about the .namespace() function syntax? I still don't get why ins is used in both functions. I tried w3schools but didn't find it. Did you find this page? http://www.w3schools.com/XML

Help to understand xpath expression in camel routebuilder

2009-12-14 Thread Kenneth H
: when(xpath(//ins:TravelInsuranceRequest).namespace(ins, http://dzone.com/insurance;)) mean? Can anybody help me? Kind regards, Kenneth H -- View this message in context: http://old.nabble.com/Help-to-understand-xpath-expression-in-camel-routebuilder-tp26779963p26779963.html Sent from