...
Method | Returns | Description |
---|---|---|
setExecutorService | void | Is used to set the Java ExecutorService. Camel will by default provide a ScheduledExecutorService with 5 thread in the pool. |
asyncSend | Future<Exchange> | Is used to send an async exchange to a Camel Endpoint. Camel will imeddiately return control to the caller thread after the task has been submitted to the executor service. This allows you to do other work while Camel processes the exchange in the other async thread. |
asyncSendBody | Future<Object> | As above but for sending body only. This is a request only messaging style so no reply is expected. Uses the |
asyncRequestBody | Future<Object> | As above but for sending body only. This is a Request Reply messaging style so a reply is expected. Uses the |
extractFutureBody | T | Is used to get the result from the asynchronous thread using the Java Concurrency Future handle. |
...