public class EventNotifierCallback extends Object implements AsyncCallback
| Constructor and Description |
|---|
EventNotifierCallback(AsyncCallback originalCallback,
Exchange exchange,
Endpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
done(boolean doneSync)
This method is invoked once the
Exchange is done. |
public EventNotifierCallback(AsyncCallback originalCallback, Exchange exchange, Endpoint endpoint)
public void done(boolean doneSync)
AsyncCallbackExchange is done.
If an exception occurred while processing the exchange, the exception field of the
Exchange being processed will hold the caused exception.done in interface AsyncCallbackdoneSync - is true if the processing of the Exchange was completed by a synchronous thread.
Otherwise its false to indicate it was completed by an asynchronous thread.Apache Camel