Hi

Yeah see also this example
http://camel.apache.org/servlet-tomcat-example.html

On Mon, Mar 24, 2014 at 6:27 AM,  <[email protected]> wrote:
> This is possible.
>
>                 <route>
>                          <from 
> uri="jetty:http://localhost:9999/camelServlet/abc?"; />
>                         <transform>
>                                 <constant>Hi</constant>
>                         </transform>
>                 </route>
>
> -Ravi
>
> ________________________________________
> From: npa [[email protected]]
> Sent: Monday, March 24, 2014 2:48 AM
> To: [email protected]
> Subject: Sending a string response from a route...
>
> Is it possible to send a response out from a route flow. For Example, in this
> below route, I would always like to send out a string response say, "hi"
> whenever the request comes from the uri mentioned..
>
> <route>
>   <from uri="jetty:http://0.0.0.0:8888/camelServlet/abc?"; />
>
> </route>
>
> if possible, how do I do it?
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Sending-a-string-response-from-a-route-tp5749258.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
> This e-mail and any files transmitted with it are for the sole use of the 
> intended recipient(s) and may contain confidential and privileged 
> information. If you are not the intended recipient(s), please reply to the 
> sender and destroy all copies of the original message. Any unauthorized 
> review, use, disclosure, dissemination, forwarding, printing or copying of 
> this email, and/or any action taken in reliance on the contents of this 
> e-mail is strictly prohibited and may be unlawful.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Reply via email to