]
Bela Ban updated JGRP-681:
--------------------------
Fix Version/s: 2.4.2
2.6.2
2.7
Incorrect informations using JMX on MuxChannel
----------------------------------------------
Key: JGRP-681
URL:
http://jira.jboss.com/jira/browse/JGRP-681
Project: JGroups
Issue Type: Bug
Affects Versions: 3.0, 2.6, 2.7, 2.6.1, 2.6.2
Reporter: Khanh Maudoux
Assigned To: Bela Ban
Priority: Minor
Fix For: 2.7, 2.4.2, 2.6.2
the JMX method dumpStats() on a MuxChannel displays information from the
"super" channel.
So, I suggest:
- making the private method JChannel.dumpChannelStats() protected
- replace the content of MuxChannel.dumpStats() with:
Map retval=mux.getChannel().getProtocolStack().dumpStats();
if(retval != null) {
Map tmp=dumpChannelStats();
if(tmp != null)
retval.put("channel", tmp);
}
return retval;
After this changes, the JMX method dumpStats() will display the protocol for
the current MuxChannel and the correct number of sent messages.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: