camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Karpe <>
Subject Re: Continuations and direct components
Date Wed, 17 Jun 2009 14:05:00 GMT


Snce the connection is an HTTP connection, the connectionObject will be
preserved even though the thread is released. So long as the
connectionObject is available, it will be reused to send a message in the
reverse direction. The HTTP connectionTimeout will dictate whether the
connection can be reused or not.

The Thread does not have to be locked up waiting for the next part of the
route to release it upon receiving a response. That would be way too



huntc wrote:
> Hi there,
> <p>Given the following code:
> <pre>
> from("jetty:")
>     .inOut("direct:getSomething");
> </pre>
> Will a jetty continuation become suspended and thus release its thread
> while "direct:getSomething" does its work, and then become active once
> "direct:getSomething" replies?
> <p>I'm hoping that the above will permit thousands of connections while
> consuming a minimal number of threads.
> <p>Thanks for any confirmations.
> <p>Kind regards,
> <br />Christopher

Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence 
Progress Software Corporation
14 Oak Park Drive
Bedford, MA 01730
+1-972-304-9084 (Office) 
+1-972-971-1700 (Mobile) 

View this message in context:
Sent from the Camel - Users (activemq) mailing list archive at

View raw message