Interface Acknowledgeable

All Known Subinterfaces:
ImmutableMessage
All Known Implementing Classes:
Message, SerializationMemoizingMessage

public interface Acknowledgeable
An object adhering to this interface can be acknowledged in a message queue by providing a queue-specific ID.

For example, messages that have been read from the local kafka journal will use a journal offset as message queue ID. By using that offset to commit to the journal after the messages has been successfully indexed, the message can be acknowledged in the queue.

  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • getMessageQueueId

      @Nullable Object getMessageQueueId()