Coding error in handling Ordering Group message delivery in a Transaction.
--------------------------------------------------------------------------
Key: JBMESSAGING-1727
URL:
https://jira.jboss.org/jira/browse/JBMESSAGING-1727
Project: JBoss Messaging
Issue Type: Bug
Components: Messaging Core
Affects Versions: 1.4.0.SP3.CP08
Reporter: Howard Gao
Assignee: Howard Gao
Fix For: 1.4.0.SP3.CP09, 1.4.5.GA
ChannelSupport.InMemoryCallback.afterCommit():
promptDelivery = (promptDelivery || monitor.messageCompleted(ref));
If promptDelivery is true, the second expression won't be evaluated (i.e.
monitor.messageCompleted(ref)).
But it must be executed in order to unregister a finished message.
should be:
promptDelivery = monitor.messageCompleted(ref) || promptDelivery;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira