org.apache.camel.util
Class AsyncProcessorHelper

java.lang.Object
  extended by org.apache.camel.util.AsyncProcessorHelper

public final class AsyncProcessorHelper
extends Object

Helper methods for AsyncProcessor objects.


Method Summary
static Future<Exchange> asyncProcess(ExecutorService executor, Processor processor, Exchange exchange)
          Processes the exchange async.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

asyncProcess

public static Future<Exchange> asyncProcess(ExecutorService executor,
                                            Processor processor,
                                            Exchange exchange)
Processes the exchange async.

Parameters:
executor - executor service
processor - the processor
exchange - the exchange
Returns:
a future handle for the task being executed asynchronously


Apache CAMEL