Interface Message<T>

All Superinterfaces:
Acknowledgeable

public interface Message<T> extends Acknowledgeable
  • Method Details

    • id

      String id()
      The message ID. This is a unique identifier for the message. It should be unique across all messages in the system, but does not need to be globally unique. Re-delivery of the same message should result in the same ID.
    • attributes

      Map<String,String> attributes()
      Optional key-value metadata associated with the message.
    • body

      T body()
      The content of the message