activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbertram <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #662: ARTEMIS-587 add more JSON JMX mgmt metho...
Date Mon, 25 Jul 2016 19:44:10 GMT
Github user jbertram commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/662#discussion_r72130781
  
    --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/ActiveMQServerControlImpl.java
---
    @@ -1360,6 +1359,130 @@ public String listProducersInfoAsJSON() throws Exception {
        }
     
        @Override
    +   public String listConnectionsAsJSON() throws Exception {
    +      checkStarted();
    +
    +      clearIO();
    +
    +      try {
    +         JSONArray array = new JSONArray();
    +
    +         Set<RemotingConnection> connections = server.getRemotingService().getConnections();
    +
    +         for (RemotingConnection connection : connections) {
    --- End diff --
    
    That's fine with me.  


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message