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

HTML in message header can prevent ActiveMQ Web Console from displaying correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBoss A-MQ 6.0, JBoss A-MQ 6.1
    • JBoss A-MQ 6.0
    • None
    • None

      If a JMS String Property is set with with the following data, the ActiveMQ Web Console doe not property display the messages of a queue.| public static String PAYLOAD = "<body>" + "\n" +|

      "\t" + "<ns0:top xmlsn:ns0=\"DummyNS\">" + "\n" +
      "\t" + "<ns0:middle>" + "\n" +
      "\t" + "</ns0:middle>" + "\n" +
      "\t" + "</ns0:top>" + "\n" +
      "</body>";

      The JMS String Property is then set on the message as follows:| message.setStringProperty("payloadHeader", PAYLOAD);|

      Once the message is sent to a Queue, the Web Console can no longer display messages for the queue. Screen shot has been attached.

        1. localhost___Browse_TEST.png
          89 kB
          Jason Sherman

              dejanbosanac Dejan Bosanac
              rhn-support-jsherman Jason Sherman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: