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.

Reply via email to