public static interface ExecutorBusProcessor.Acknowledger
Modifier and Type | Method and Description |
---|---|
void |
acknowledge()
Called to acknowledge successful processing done by an ExecutorBusProcessor.
|
void |
acknowledge(Exception status)
Called to acknowledge processing done by an ExecutorBusProcessor.
|
void acknowledge()
This method may be called by any thread but may only be called once. The executor bus
will pool ExecutorBusProcessor.Acknowledger
instances and the act of calling acknowledge returns the
acknowledger to its pool.
This method is equivalent to calling acknowledge(null)
.
void acknowledge(Exception status)
Calling this method with a non null exception indicates that processing did not complete successfully. This may result in the execution bus shutting down if it is configured.
This method may be called by any thread but may only be called once. The executor bus
will pool ExecutorBusProcessor.Acknowledger
instances and the act of calling acknowledge returns the
acknowledger to its pool.
status
- When non null indicates that processing failed for the message.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.