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 void process(AsyncProcessor processor, Exchange exchange)
          Calls the async version of the processor's process method and waits for it to complete before returning.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

process

public static void process(AsyncProcessor processor,
                           Exchange exchange)
                    throws Exception
Calls the async version of the processor's process method and waits for it to complete before returning. This can be used by AsyncProcessor objects to implement their sync version of the process method.

Throws:
Exception


Copyright © 2009 IONA Open Source Community. All Rights Reserved.