Class AnypointMQMessageAttributes

java.lang.Object
com.mulesoft.extension.mq.api.attributes.AnypointMQMessageAttributes
All Implemented Interfaces:
Serializable

public class AnypointMQMessageAttributes extends Object implements Serializable
Contains all the metadata of a consumed Anypoint MQ message. It carries information such as the Headers, the Properties and the required ID for performing an ACK on the Message.
Since:
3.0
See Also:
  • Constructor Details

    • AnypointMQMessageAttributes

      public AnypointMQMessageAttributes(String destination, com.mulesoft.mq.restclient.client.mq.domain.AnypointMQMessage message, boolean createAckToken)
  • Method Details

    • getDestination

      public String getDestination()
    • getHeaders

      public Map<String,Object> getHeaders()
    • getProperties

      public Map<String,Object> getProperties()
    • getMessageId

      public String getMessageId()
    • getDeliveryCount

      public int getDeliveryCount()
    • getContentType

      public String getContentType()
    • getAckToken

      public String getAckToken()
    • toString

      public String toString()
      Overrides:
      toString in class Object