[
https://jira.jboss.org/browse/JBMESSAGING-1818?page=com.atlassian.jira.pl...
]
Tyronne Wickramarathne commented on JBMESSAGING-1818:
-----------------------------------------------------
JBossRemoting (JBR) delivers messages by reference when both JBM server and the client MDB
are in the same JVM. Therefore, this behaviour results two MDBs reading from the same
buffer. To avoid this, you need to set "force_remote" attribute to true on the
remoting configuration.
....
<attribute name="force_remote"
isParam="true">true</attribute>
....
-Tyronne
Race condition occurs when two durable subscribers listening to the
same destination
------------------------------------------------------------------------------------
Key: JBMESSAGING-1818
URL:
https://jira.jboss.org/browse/JBMESSAGING-1818
Project: JBoss Messaging
Issue Type: Bug
Components: Messaging Core
Affects Versions: 1.4.6.GA
Environment: JBoss-EAP-5.0.1 , JDK-1.6, JBossMessaging-1.4.6
Reporter: Tyronne Wickramarathne
Assignee: Tyronne Wickramarathne
Fix For: Unscheduled
When two durable subscribers consume ByteMessages from the same topic, a race condition
occurs. The same message gets shared between two subscribers. If one reads ahead than the
other, the slower consumer won't receive the same message.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira