Problem when uploading a XML type message

Help
2004-09-13
2004-09-14
  • Hi,

    I tried to upload a XML message in a queue, the same
    one that I previously upload from the same queue by
    using save message as XML.

    The "save message as XML" save the message in a correct
    XML format :

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <content>
    <entry type="4">
    <mapMessage JMSPriority="4"
    JMSRedelivered="false" JMSTimestamp="1094835785896"
    JMSDeliveryMode="2" JMSExpiration="0"
    JMSDestination="queue://DISNATV.QM/DISNATV.Q.SPECTRA.REQ.ETIENNE"
    JMSMessageID="ID:414d51204449534e4154562e514d202040cf5d90202e5d99"
    JMSCorrelationID="700;">
    <headerProperty name="MessageType"
    value="102" type="java.lang.Short"/>
    <bodyProperty name="LanguageType" value="1"
    type="java.lang.Short"/>
    <bodyProperty name="ExternalOrderId"
    value="20000" type="java.lang.String"/>
    <bodyProperty name="GcOrderId" value="700"
    type="java.lang.String"/>
    </mapMessage>
    </entry>
    </content>

    When I try to put it as a XML file, I get an error. I
    send you the DEBUG log file concerning this and my
    config. We are using Hermes since 3 months and
    everithing are OK with theses Queues etc...

    After I put the same xml message (also in the log) as a
    "TEXT format" then everything is OK.

    Does MQ check the JMSID? I tried to change this ID, and
    others data ... but it never work. I still have an
    error in the LOG like :

    2004-09-10 13:12:59,568 [Hermes ThreadPool-4] ERROR
    hermes.browser.SendMessageAction - During file upload: null
    java.lang.NullPointerException
    at
    hermes.browser.SendMessageAction.doAction(SendMessageAction.java:149)
    at
    hermes.browser.AbstractActionImpl.run(AbstractActionImpl.java:90)
    at hermes.impl.ThreadPool.run(ThreadPool.java:183)
    at java.lang.Thread.run(Unknown Source)
    2004-09-10 13:13:20,099 [Hermes ThreadPool-2] ERROR
    hermes.browser.SendMessageAction - During file upload: null

    Thanks,

    Etienne Laverdiere
    Montreal

     
    • Colin Crist
      Colin Crist
      2004-09-14

      Hi Etienne,

      I'll have a look an see if I can replicate.

      > Does MQ check the JMSID? I tried to change this ID, and others data ...
      > but it never work.

      Do you mean the JMSMessageID? Exactly which properties did you try and change in the XML?

      Can u send me your hermes-config.xml and a full hermes.log with logj for hermes logger down to DEBUG?

      Thanks,

      Colin.