]
Bela Ban updated JGRP-2142:
---------------------------
Fix Version/s: 4.0
RequestCorrelator broadcasts message instead of sending an unicast
------------------------------------------------------------------
Key: JGRP-2142
URL:
https://issues.jboss.org/browse/JGRP-2142
Project: JGroups
Issue Type: Bug
Affects Versions: 4.0
Reporter: Pedro Ruivo
Assignee: Bela Ban
Fix For: 4.0
The first message sent has the destination field initialized with null. In result, the
first message is broadcasted. The destination must be set.
In here:
https://github.com/belaban/JGroups/blob/master/src/org/jgroups/blocks/Req...
Code:
{{Message copy=(first? msg : msg.copy(true)).dest(mbr);}}
Possible fix:
{{Message copy=(first? msg.dest(mbr) : msg.copy(true)).dest(mbr);}}