Interface MessagingBrokerQueueListener.MessageAccess

Enclosing class:
MessagingBrokerQueueListener

public static interface MessagingBrokerQueueListener.MessageAccess
  • Method Details

    • getId

      String getId()
      Returns:
      the message ID, determined by the broker
    • getMessage

      String getMessage()
      Returns:
      the raw message String, as received from the broker
    • getBrokerTopic

      String getBrokerTopic()
      Returns:
      the topic, from which the message was received
    • acknowledge

      void acknowledge()
      Acknowledges the message at the broker
    • getDataMap

      Map<String,Object> getDataMap()
      Returns:
      the structured data part of the message, only used if the structured flag is set
    • getHeadersMap

      Map<String,Object> getHeadersMap()
      Returns:
      the headers of the message, only used if the structured flag is set
    • getTechnicalHeaders

      default Map<String,String> getTechnicalHeaders()
      Returns:
      the technical headers that are directly written to the TopicMessageEventContext