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 <[EMAIL PROTECTED]> 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.