org.apache.camel
Interface AsyncCallback


public interface AsyncCallback

The callback interface for an AsyncProcessor so that it can notify you when an Exchange has completed.


Method Summary
 void done(boolean doneSynchronously)
          This method is invoked once the Exchange is completed.
 

Method Detail

done

void done(boolean doneSynchronously)
This method is invoked once the Exchange is completed. If an error occurred while processing the exchange, the exception field of the Exchange being processed will hold the error.

Parameters:
doneSynchronously - set to true if the processing of the exchange was completed synchronously thread.


Apache CAMEL