Hi I think we have a ticket about this https://issues.apache.org/jira/browse/CAMEL-6707
You can use jetty / netty-http etc they support async mode. And this happens automatic if during the routing the async routing engine kicks-in. On Thu, Jul 23, 2015 at 1:27 AM, ablevine1 <ablevi...@gmail.com> wrote: > I really like the camel REST DSL, but would like to make my servlet container > to not hold onto http request handling threads when processing REST > requests. Is there a way to specify this via the REST DSL? What I am > looking for is something that works similar to spring's DeferredResult. I > would like the servlet thread to be released when the route is being > processed and then have the response be returned to the client when the > route completes. Any suggestions would be appreciated. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Async-Requests-via-REST-DSL-tp5769781.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: http://www.manning.com/ibsen2