Interface IMessagePublication

All Known Implementing Classes:
MessagePublication

public interface IMessagePublication
A message publication is created for each asynchronous message dispatch. It reflects the state of the corresponding message publication process, i.e. provides information whether the publication was successfully scheduled, is currently running etc.

A message publication lives within a single thread. It is not designed in a thread-safe manner -> not eligible to be used in multiple threads simultaneously .

  • Method Details

    • execute

      void execute()
    • isFinished

      boolean isFinished()
    • isRunning

      boolean isRunning()
    • isScheduled

      boolean isScheduled()
    • hasError

      boolean hasError()
    • getError

      PublicationError getError()
    • isDeadMessage

      boolean isDeadMessage()
    • isFilteredMessage

      boolean isFilteredMessage()
    • getMessage

      Object getMessage()