|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.util.AsyncProcessorHelper
public final class AsyncProcessorHelper
Helper methods for AsyncProcessor objects.
| Method Summary | |
|---|---|
static void |
process(AsyncProcessor processor,
Exchange exchange)
Calls the async version of the processor's process method and waits for it to complete before returning. |
static boolean |
process(AsyncProcessor processor,
Exchange exchange,
AsyncCallback callback)
Calls the async version of the processor's process method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean process(AsyncProcessor processor,
Exchange exchange,
AsyncCallback callback)
Exchanges which ensure those are run in a synchronous fashion.
See more details at AsyncProcessor.
processor - the processorexchange - the exchangecallback - the callback
public static void process(AsyncProcessor processor,
Exchange exchange)
throws Exception
AsyncProcessor
objects to implement their sync version of the process method.
processor - the processorexchange - the exchange
Exception - can be thrown if waiting is interrupted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||