Hi Yeah its the same problem in servlet. Thanks for reporting. I have logged a ticket https://issues.apache.org/jira/browse/CAMEL-6350
On Fri, May 10, 2013 at 11:23 PM, apatel <[email protected]> wrote: > Appreciated for your help! Same issue occurred in servlet route also. > > > Below route doen't return body > > <route id="testLanguageFile" xmlns="http://camel.apache.org/schema/spring" > trace="true"> > <from uri="servlet:/myServletService/1.0/operationA"/> > > <setBody> > <groovy>"Servlet test" </groovy> > </setBody> > > </route> > > Below route returns body Servlet test > > <route id="testLanguageFile" xmlns="http://camel.apache.org/schema/spring" > trace="true"> > <from uri="servlet:/myServletService/1.0/operationA"/> > > <setBody> > <groovy>"Servlet test" </groovy> > </setBody> > <to uri="mock:result" /> > </route> > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Setting-Body-in-restlet-route-without-to-does-not-work-tp5732285p5732306.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: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
