]
Yong Hao Gao updated JBMESSAGING-1777:
--------------------------------------
Fix Version/s: 1.4.8.SP12
(was: 1.4.8.SP11)
Error in addMessageIDInHeader while bridging from JBossMQ
---------------------------------------------------------
Key: JBMESSAGING-1777
URL:
https://issues.jboss.org/browse/JBMESSAGING-1777
Project: JBoss Messaging
Issue Type: Bug
Affects Versions: 1.4.3.GA
Environment: JBoss AS 5.1.0.GA
Reporter: Pedro Gontijo
Assignee: Yong Hao Gao
Labels: JMSXDeliveryCount, addMessageIDInHeader, bridge, jbossmq
Fix For: 1.4.0.SP3.CP15, 1.4.8.SP12
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).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: