Package org.apache.activemq.broker.jmx
Class CompositeDataHelper
java.lang.Object
org.apache.activemq.broker.jmx.CompositeDataHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendTabularMap(Map map, CompositeData cdata, String fieldName) static MapReturns a map of all the user properties in the given messageCompositeDataobjectstatic MapgetTabularMap(CompositeData cdata, String fieldName) Extracts the named TabularData field from the CompositeData and converts it to a Map which is the method used to get the typesafe user properties.
-
Constructor Details
-
CompositeDataHelper
public CompositeDataHelper()
-
-
Method Details
-
getTabularMap
Extracts the named TabularData field from the CompositeData and converts it to a Map which is the method used to get the typesafe user properties. -
appendTabularMap
-
getMessageUserProperties
Returns a map of all the user properties in the given messageCompositeDataobject- Parameters:
cdata-- Returns:
- a Map of user properties
-