On Fri, Jan 11, 2013 at 3:46 PM, Manoj Kolhe <harddrive.ma...@gmail.com> wrote: > Hi Claus, > > Thanks for quick revert. > > I resolved the issue of passing parameters in <camel:to uri="http..."> > > > Current Issue: > Now the main thing to me is how to receive parameters from <camel:from > uri="servlet:///helloWorld"> path > > When created from path as <camel:from uri="servlet://helloWorld?name=test"> > it gives XML error. >
You cannot set hardcoded http request paramters on the servlet component. Its the HTTP client that can send request parameters when it calls the HTTP service See this example http://camel.apache.org/servlet-tomcat-example.html > Can please suggest what should be the correct way to pass parameters from > 'from' tag? > > Thanks in advance, > Manoj > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Spring-XML-tp5725366p5725394.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen