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 Details

    • XmlDataExporterUtil

      public XmlDataExporterUtil()
  • Method Details

    • convertProperty

      public static String convertProperty(Object value)
    • getPropertyType

      public static String getPropertyType(Object value)
    • 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)