Interface AcknowledgementProcessor<T>

All Superinterfaces:
ConfigurableContainerComponent, IdentifiableContainerComponent, Lifecycle, Phased, SmartLifecycle
All Known Subinterfaces:
ExecutingAcknowledgementProcessor<T>
All Known Implementing Classes:
AbstractOrderingAcknowledgementProcessor, BatchingAcknowledgementProcessor, ImmediateAcknowledgementProcessor

public interface AcknowledgementProcessor<T> extends SmartLifecycle, IdentifiableContainerComponent, ConfigurableContainerComponent
Top-level interface for a component capable of processing acknowledgements. Provides the getAcknowledgementCallback() method that allows offering messages to the processor. The timing of the execution of the acknowledgements depends on many factors sucha as ContainerOptions.getAcknowledgementInterval(), ContainerOptions.getAcknowledgementThreshold(), ContainerOptions.getAcknowledgementOrdering(). The actual execution is usually handled by an AcknowledgementExecutor.
Since:
3.0
Author:
Tomaz Fernandes
See Also:
  • Method Details

    • getAcknowledgementCallback

      AcknowledgementCallback<T> getAcknowledgementCallback()
      Retrieve an acknowledgement callback that can be used to offer messages to be acknowledged by this processor.
      Returns:
      the callback.