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
> >
>

Reply via email to