Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-489

activemqweb console is not able to display JMS Message Header values containing XML/HTML tag snippet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBoss A-MQ 6.1
    • JBoss A-MQ 6.0
    • mq-web-console
    • None
    • Hide

      Step1). Send a JMS Message to the JBoss A-MQ which contains the following XML Snippet as a JMS Message property:

                            String xml="<test>"+
                                  "    <Body>"+
                                  "           Hello World !!! - 1"+
                                  "    </Body>"+
                                  "</test>";
                            msg.setStringProperty("xmlMessage",xml);
                            queueSender.send(msg);
      

      Step2). Login the activemqweb console and then browse the JMS Message which was sent.

      Show
      Step1). Send a JMS Message to the JBoss A-MQ which contains the following XML Snippet as a JMS Message property: String xml= "<test>" + " <Body>" + " Hello World !!! - 1" + " </Body>" + "</test>" ; msg.setStringProperty( "xmlMessage" ,xml); queueSender.send(msg); Step2). Login the activemqweb console and then browse the JMS Message which was sent.

      "activemqweb" console issue where it is not able to display the JMS Message header values properly if it contains some special tags like*<head></head>or<body></body>as part of the JMS Message Header Property values.Example:*| String xml="<test>"+|

      " <Body>"+
      " Hello World !!! - 1"+
      " </Body>"+
      "</test>";
      msg.setStringProperty("xmlMessage",xml);
      queueSender.send(msg);

              dejanbosanac Dejan Bosanac
              jaysensharma Jay SenSharma (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: