Class XmlDataExporterUtil
- java.lang.Object
-
- org.apache.activemq.artemis.cli.commands.tools.xml.XmlDataExporterUtil
-
public class XmlDataExporterUtil extends java.lang.ObjectCommon utility methods to help with XML message conversion
-
-
Constructor Summary
Constructors Constructor Description XmlDataExporterUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringconvertProperty(java.lang.Object value)protected static java.lang.Stringencode(byte[] data)static java.lang.StringencodeMessageBodyBase64(org.apache.activemq.artemis.api.core.Message message)Base64 encode a ServerMessage body into the proper XML formatstatic java.lang.StringgetMessagePrettyType(byte rawType)static java.lang.StringgetPropertyType(java.lang.Object value)
-
-
-
Method Detail
-
convertProperty
public static java.lang.String convertProperty(java.lang.Object value)
-
getPropertyType
public static java.lang.String getPropertyType(java.lang.Object value)
-
getMessagePrettyType
public static java.lang.String getMessagePrettyType(byte rawType)
-
encodeMessageBodyBase64
public static java.lang.String encodeMessageBodyBase64(org.apache.activemq.artemis.api.core.Message message) throws java.lang.ExceptionBase64 encode a ServerMessage body into the proper XML format- Throws:
java.lang.Exception
-
encode
protected static java.lang.String encode(byte[] data)
-
-