Application Server 3  4  5 and 6
  1. Application Server 3 4 5 and 6
  2. JBAS-6784

Add support for JMS ServerPeer managed object to support enabling metric collection through the console

    Details

    • Similar Issues:
      Show 10 results 

      Issue Links

        Activity

        Hide
        Jason Greene
        added a comment -

        There will not be a 5.1.1, moving to 5.2 for now

        Show
        Jason Greene
        added a comment - There will not be a 5.1.1, moving to 5.2 for now
        Hide
        Scott Stark
        added a comment -

        There is a "jboss.messaging:service=ServerPeer" component of type ComponentType("JMS", "ServerPeer")

        public void testServerPeer() throws Exception

        { ManagementView mgtView = getManagementView(); ComponentType type = new ComponentType("JMS", "ServerPeer"); ManagedComponent component = mgtView.getComponent("jboss.messaging:service=ServerPeer", type); assertNotNull(component); log.info("Properties: "+component.getProperties().keySet()); ManagedOperation o = getOperation(component, "listMessageCountersAsHTML", new String[0]); MetaValue v = o.invoke(new MetaValue[0]); assertNotNull("null operation return value", v); log.debug("result" + v); }
        Show
        Scott Stark
        added a comment - There is a "jboss.messaging:service=ServerPeer" component of type ComponentType("JMS", "ServerPeer") public void testServerPeer() throws Exception { ManagementView mgtView = getManagementView(); ComponentType type = new ComponentType("JMS", "ServerPeer"); ManagedComponent component = mgtView.getComponent("jboss.messaging:service=ServerPeer", type); assertNotNull(component); log.info("Properties: "+component.getProperties().keySet()); ManagedOperation o = getOperation(component, "listMessageCountersAsHTML", new String[0]); MetaValue v = o.invoke(new MetaValue[0]); assertNotNull("null operation return value", v); log.debug("result" + v); }

          People

          • Assignee:
            Scott Stark
            Reporter:
            Charles Crouch
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: