Re: Camel Spring XML working with variables from xml message

2014-12-16 Thread Claus Ibsen
Hi If you have all the data in headers, then you can use the simple language to build a message body http://camel.apache.org/simple I guess this is what you attempted with . But constant is what is says a constant. "<2> DateValue Hostname Message" So try with "<2> ${header. DateValue} ${head

Re: Camel Spring XML

2013-01-15 Thread Claus Ibsen
On Tue, Jan 15, 2013 at 9:32 AM, Manoj Kolhe wrote: > Now the next question on my mind, > > This is plain example for fetching request parameters as GET method. > > How to pass the parameters to as POST? > Why dont you try sending a HTTP POST to the Camel servlet and see what happens. > > > > -

Re: Camel Spring XML

2013-01-15 Thread Manoj Kolhe
Now the next question on my mind, This is plain example for fetching request parameters as GET method. How to pass the parameters to as POST? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Spring-XML-tp5725366p5725569.html Sent from the Camel - Users mailing list ar

Re: Camel Spring XML

2013-01-15 Thread Manoj Kolhe
Thanks a lot!! Issue resolved Cheers, Manoj -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Spring-XML-tp5725366p5725568.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Spring XML

2013-01-14 Thread Claus Ibsen
On Tue, Jan 15, 2013 at 7:55 AM, Manoj Kolhe wrote: > Hi Claus, > > Thanks, I referred to the example stated on the link you have provided. > > Apologies to ask you a very basic question in this case: > > > > > > name > > > Hello ${header.name} how are yo

Re: Camel Spring XML

2013-01-14 Thread Manoj Kolhe
Hi Claus, Thanks, I referred to the example stated on the link you have provided. Apologies to ask you a very basic question in this case: name Hello ${header.name} how are you? In above 'choice when' code, h

Re: Camel Spring XML

2013-01-11 Thread Claus Ibsen
On Fri, Jan 11, 2013 at 3:46 PM, Manoj Kolhe wrote: > Hi Claus, > > Thanks for quick revert. > > I resolved the issue of passing parameters in > > > Current Issue: > Now the main thing to me is how to receive parameters from uri="servlet:///helloWorld"> path > > When created from path as > it g

Re: Camel Spring XML

2013-01-11 Thread Manoj Kolhe
Hi Claus, Thanks for quick revert. I resolved the issue of passing parameters in Current Issue: Now the main thing to me is how to receive parameters from path When created from path as it gives XML error. Can please suggest what should be the correct way to pass parameters from 'from' ta

Re: Camel Spring XML

2013-01-11 Thread Claus Ibsen
On Fri, Jan 11, 2013 at 11:48 AM, Manoj Kolhe wrote: > Hi, > > I am a newbie using Apache Camel. > > I am trying to configure 2 different routes based on the servlet example in > the package. > > My route configuration looks as below: > > > > > >