For custom logic you can return a CompletableFuture from your @Handler or
implement AsyncProcessor.

As of existing endpoints, many support non-blocking operations in both
server and client modes, e.g. netty4-http, servlet, http client, cxf (just
from my head, there are more).

Best regards, Vitalii Tymchyshyn

22 груд. 2016 р. 12:52 "linktech" <kl...@acm.org> пише:


Looking for Camel capability and examples for REST consumers & producers
using non-blocking HTTP Libs to support non-blocking HTTP request/responses.
I did see the some support for producer templates but not on consumers or
REST DSL. I see where Spring has support for ListenableFuture &
DeferredResult for consumer interfaces. Is there a Camel equivalent? This
would significantly reduce the need for non-blocking platforms such as
Node.js.

Thanks,



--
View this message in context: http://camel.465427.n5.nabble.
com/Camel-Non-blocking-HTTP-based-Microservices-tp5791879.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to