Class XmlDataExporterUtil
- java.lang.Object
-
- org.apache.activemq.artemis.cli.commands.tools.xml.XmlDataExporterUtil
-
public class XmlDataExporterUtil extends Object
Common 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 StringconvertProperty(Object value)protected static Stringencode(byte[] data)static StringencodeMessageBodyBase64(Message message)Base64 encode a ServerMessage body into the proper XML formatstatic StringgetMessagePrettyType(byte rawType)static StringgetPropertyType(Object value)
-
-
-
Method Detail
-
getMessagePrettyType
public static String getMessagePrettyType(byte rawType)
-
encodeMessageBodyBase64
public static String encodeMessageBodyBase64(Message message) throws Exception
Base64 encode a ServerMessage body into the proper XML format- Throws:
Exception
-
encode
protected static String encode(byte[] data)
-
-