]
Jason Greene updated WFLY-5795:
-------------------------------
Fix Version/s: 10.1.0.Final
(was: 10.1.0.CR1)
HA JMS Topic Subscriber of Colocated life backup symmetrical 2 nodes
cluster violates Publish-Subscribe pattern.
----------------------------------------------------------------------------------------------------------------
Key: WFLY-5795
URL:
https://issues.jboss.org/browse/WFLY-5795
Project: WildFly
Issue Type: Bug
Components: JMS
Affects Versions: 10.0.0.CR4
Environment: 2 node symmetrical colocated life backup cluster (domain mode).
Configuration (domain.xml, host.xml) provided as attachment.
Reporter: Michal Sudra
Assignee: Jeff Mesnil
Priority: Critical
Fix For: 10.1.0.Final
Attachments: ClusteredTopicTest.java, domain.xml, domain.xml, host-slave.xml,
host.xml, host.xml, master.log, slave.log
Test Client is producing 10 messages on topic on node 1 and 2 consumers connected to node
1 and the other to node 2 are then consuming the messages.
Expectation: Every consumer receives 10 Messages.
Result of test: Consumer connected to node 1 is only getting every second message.
Consumer connected to node 2 is receiving all 10 messages:
Output of test program:
Sent message: This is text message 0
Sent message: This is text message 1
Sent message: This is text message 2
Sent message: This is text message 3
Sent message: This is text message 4
Sent message: This is text message 5
Sent message: This is text message 6
Sent message: This is text message 7
Sent message: This is text message 8
Sent message: This is text message 9
0 Recieved message: This is text message 0 from node 0 from
java:/jms/topic/ClusterStateTopic
1 Recieved message: This is text message 2 from node 0 from
java:/jms/topic/ClusterStateTopic
2 Recieved message: This is text message 4 from node 0 from
java:/jms/topic/ClusterStateTopic
3 Recieved message: This is text message 6 from node 0 from
java:/jms/topic/ClusterStateTopic
4 Recieved message: This is text message 8 from node 0 from
java:/jms/topic/ClusterStateTopic
5 error receiving message from node 0
6 error receiving message from node 0
7 error receiving message from node 0
8 error receiving message from node 0
9 error receiving message from node 0
0 Recieved message: This is text message 0 from node 1 from
java:/jms/topic/ClusterStateTopic
1 Recieved message: This is text message 1 from node 1 from
java:/jms/topic/ClusterStateTopic
2 Recieved message: This is text message 2 from node 1 from
java:/jms/topic/ClusterStateTopic
3 Recieved message: This is text message 3 from node 1 from
java:/jms/topic/ClusterStateTopic
4 Recieved message: This is text message 4 from node 1 from
java:/jms/topic/ClusterStateTopic
5 Recieved message: This is text message 5 from node 1 from
java:/jms/topic/ClusterStateTopic
6 Recieved message: This is text message 6 from node 1 from
java:/jms/topic/ClusterStateTopic
7 Recieved message: This is text message 7 from node 1 from
java:/jms/topic/ClusterStateTopic
8 Recieved message: This is text message 8 from node 1 from
java:/jms/topic/ClusterStateTopic
9 Recieved message: This is text message 9 from node 1 from
java:/jms/topic/ClusterStateTopic
The test program is added and the 2 node names are given as parameters for main.