Details

      Description

      When addMessageIDInHeader is set to true in a JBossMQ->JBM bridge scenerio the following error occurs:

      WARN [org.jboss.jms.server.bridge.Bridge] (Thread-27) jboss.messaging:name=MyBridge,service=Bridge Failed to send + acknowledge batch, closing JMS objects
      javax.jms.JMSException: Illegal property name: JMSXDeliveryCount
      at org.jboss.mq.SpyMessage.checkProperty(Unknown Source)
      at org.jboss.mq.SpyMessage.setObjectProperty(Unknown Source)
      at org.jboss.jms.server.bridge.Bridge.addMessageIDInHeader(Bridge.java:1481)
      at org.jboss.jms.server.bridge.Bridge.sendMessages(Bridge.java:1391)
      at org.jboss.jms.server.bridge.Bridge.sendBatchNonTransacted(Bridge.java:1261)
      at org.jboss.jms.server.bridge.Bridge.sendBatch(Bridge.java:1375)
      at org.jboss.jms.server.bridge.Bridge.access$1900(Bridge.java:68)
      at org.jboss.jms.server.bridge.Bridge$BatchTimeChecker.run(Bridge.java:1638)
      at java.lang.Thread.run(Thread.java:595)

      As you can see the error is due JMSX properties, actually, because the addMessageIDInHeader sets then in the MQ message (which is not allowed).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gaohoward Howard Gao
                Reporter:
                pedrong Pedro Gontijo
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: