Class MapMessageUtil
- java.lang.Object
-
- org.apache.activemq.artemis.reader.MessageUtil
-
- org.apache.activemq.artemis.reader.MapMessageUtil
-
public class MapMessageUtil extends MessageUtil
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.reader.MessageUtil
CONNECTION_ID_PROPERTY_NAME, CONNECTION_ID_PROPERTY_NAME_STRING, CORRELATIONID_HEADER_NAME, CORRELATIONID_HEADER_NAME_STRING, JMS, JMS_, JMSX, JMSXDELIVERYCOUNT, JMSXGROUPID, JMSXGROUPSEQ, JMSXUSERID, REPLYTO_HEADER_NAME, TYPE_HEADER_NAME, TYPE_HEADER_NAME_STRING
-
-
Constructor Summary
Constructors Constructor Description MapMessageUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TypedPropertiesreadBodyMap(ActiveMQBuffer message)Utility method to set the map on a message bodystatic voidreadBodyMap(ActiveMQBuffer message, TypedProperties map)Utility method to set the map on a message bodystatic voidwriteBodyMap(ActiveMQBuffer message, TypedProperties properties)Utility method to set the map on a message body-
Methods inherited from class org.apache.activemq.artemis.reader.MessageUtil
clearProperties, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSReplyTo, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getStringProperty, propertyExists, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSReplyTo, setJMSReplyTo, setJMSType, setLongProperty, setObjectProperty, setStringProperty
-
-
-
-
Method Detail
-
writeBodyMap
public static void writeBodyMap(ActiveMQBuffer message, TypedProperties properties)
Utility method to set the map on a message body
-
readBodyMap
public static TypedProperties readBodyMap(ActiveMQBuffer message)
Utility method to set the map on a message body
-
readBodyMap
public static void readBodyMap(ActiveMQBuffer message, TypedProperties map)
Utility method to set the map on a message body
-
-