Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-681

Incorrect informations using JMX on MuxChannel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 2.6.2, 2.7
    • 2.6, 2.6.1, 2.6.2, 2.7, 3.0
    • None
    • Low

      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.

            rhn-engineering-bban Bela Ban
            kmx.jgroups Khanh Maudoux (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: