Package org.apache.activemq.broker.jmx
Class CompositeDataHelper
- java.lang.Object
-
- org.apache.activemq.broker.jmx.CompositeDataHelper
-
public class CompositeDataHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description CompositeDataHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
appendTabularMap(Map map, CompositeData cdata, String fieldName)
static Map
getMessageUserProperties(CompositeData cdata)
Returns a map of all the user properties in the given messageCompositeData
objectstatic Map
getTabularMap(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.
-
-
-
Method Detail
-
getTabularMap
public static Map getTabularMap(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.
-
appendTabularMap
public static void appendTabularMap(Map map, CompositeData cdata, String fieldName)
-
getMessageUserProperties
public static Map getMessageUserProperties(CompositeData cdata)
Returns a map of all the user properties in the given messageCompositeData
object- Parameters:
cdata
-- Returns:
- a Map of user properties
-
-