org.apache.camel.util
Class AsyncProcessorHelper
java.lang.Object
org.apache.camel.util.AsyncProcessorHelper
public final class AsyncProcessorHelper
- extends Object
Helper methods for AsyncProcessor objects.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
asyncProcess
public static Future<Exchange> asyncProcess(ExecutorService executor,
Processor processor,
Exchange exchange)
- Processes the exchange async.
- Parameters:
executor
- executor serviceprocessor
- the processorexchange
- the exchange
- Returns:
- a future handle for the task being executed asynchronously
Apache CAMEL