camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: Respond to an HTTP request received via a jetty URI
Date Wed, 26 Sep 2007 14:54:52 GMT
That should be all you need to do.  If it's not working perhaps it's a
bug in the jetty component.

I'll throw a quick test case to together to verify.

On 9/26/07, bgoetzmann <bgoetzmann@sophia.symag.com> wrote:
>
> I'm new in Camel, and to have worked with ServiceMix I understand I have to
> fill an out message for the caller as in a MEP of type InOut.
>
> So, I my route I use something like:
>
> from("jetty:http://localhost:8080/test).process(proc).?
>
> where proc implements the Processor interface and I set the out message in
> the Processor.process method. But how can I complete the route in order my
> out message be sent to the caller?
>
> Thank you a lot.
>
> Bertrand.
>
>
>
> Hiram Chirino wrote:
> >
> > It will reply with whatever is in the exchange.out message field when
> > the pipeline is done getting processed.
> >
> > On 9/25/07, bgoetzmann <bgoetzmann@sophia.symag.com> wrote:
> >>
> >> Hello,
> >>
> >> I think it's a simple question! I'm using a route with something like:
> >>
> >> from("jetty:http://localhost:8080/test)...
> >>
> >> in order to receive an HTTP request from an Internet Navigator for
> >> example.
> >>
> >> With Camel how can I respond to the caller? By using an Endpoint instance
> >> like this:
> >>
> >> from(ep). ... .to(ep)?
> >>
> >>
> >> Thank you.
> >>
> >> Bertrand.
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Respond-to-an-HTTP-request-received-via-a-jetty-URI-tf4517024s22882.html#a12884514
> >> Sent from the Camel - Users mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Regards,
> > Hiram
> >
> > Blog: http://hiramchirino.com
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Respond-to-an-HTTP-request-received-via-a-jetty-URI-tf4517024s22882.html#a12896292
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>


-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Mime
View raw message