[ https://issues.apache.org/jira/browse/ARTEMIS-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16388460#comment-16388460 ]
ASF GitHub Bot commented on ARTEMIS-1198: ----------------------------------------- GitHub user jbertram opened a pull request: https://github.com/apache/activemq-artemis/pull/1935 ARTEMIS-1198 add listAllSessionsAsJSON mgmnt method You can merge this pull request into a Git repository by running: $ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-1198 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq-artemis/pull/1935.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1935 ---- commit 868bb5e2adc655db73513e9408ef012031cfc84d Author: Justin Bertram <jbertram@...> Date: 2018-03-06T20:17:42Z ARTEMIS-1198 add listAllSessionsAsJSON mgmnt method ---- > Add listAllSessionsAsJSON > ------------------------- > > Key: ARTEMIS-1198 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1198 > Project: ActiveMQ Artemis > Issue Type: Improvement > Components: Broker > Affects Versions: 2.1.0 > Reporter: Daniel Siviter > Assignee: Justin Bertram > Priority: Major > > A {{listAllConsumersAsJSON}} already exists, but it would be useful to get > the same for ServerSessions with a {{listAllSessionsAsJSON}} to find all > sessions connected rather than just per connection (i.e. > {{listSessionsAsJSON}}). The vast majority of connections will only have one > session (especially STOMP, AMQP, etc.,) so iterating round and calling > {{listSessionsAsJSON}} is onerous. -- This message was sent by Atlassian JIRA (v7.6.3#76005)