> Note that you can also get a list of connections as JSON Good point. That's worth keeping in mind.
However, it's also worth noting that if you have access to an instance of ActiveMQServer it's much simpler (and faster) to deal with strongly typed Objects rather than a loosely coupled bag of data you get with JSON. Of course, JSON is great for non-Java remote clients (e.g. python, perl, bash, etc.) Justin On Thu, Jul 31, 2025 at 8:39 AM ski n <raymondmees...@gmail.com> wrote: > Note that you can also get a list of connections as JSON: > > ActiveMQServer activeBroker = broker.getActiveMQServer(); > ActiveMQServerControlImpl manageBroker = > activeBroker.getActiveMQServerControl(); > String connectionsList = manageBroker.listConnectionsAsJSON(); > > Raymond > > On Thu, Jul 31, 2025 at 3:24 PM Justin Bertram <jbert...@apache.org> > wrote: > > > Use getRemotingService() on your ActiveMQServer instance and then > > use getConnections() on the RemotingService you received. You'll receive > > a Set<RemotingConnection> that you can inspect. > > > > > > Justin > > > > On Thu, Jul 31, 2025 at 8:03 AM Modanese, Riccardo > > <riccardo.modan...@eurotech.com.invalid> wrote: > > > > > Hi everyone, > > > I’m looking for a way to inspect client connections from within Artemis > > > broker plugin instance (I have access to ActiveMQServer instance). > > > I found a way to get the sessions but not the connections. > > > Any suggestion? > > > > > > Thanks > > > > > > Riccardo Modanese > > > > > >