The only workaround I have thought about so far (using wildfly-stats) is monitoring invocations (Number of invocations processed) fairly often and subtracting the previously read value with the latest one.
Emmanuel Hugonnet
unread,
Jan 9, 2025, 11:38:40 AMJan 9
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wil...@googlegroups.com
Hello,
I'm adding a feature to get the number of active session on the embedded broker. Not sure that would provide you with the info you want
since in your case you are using a remote broker.
Emmanuel
Le 09/01/2025 à 17:11, 'Christoffer A. Nilsen' via WildFly a écrit :
> I already asked about this previously, earlier in 2024, but will attempt again before I start coding my own workaround solution.
>
> *Is there a way to monitor/read the number of active JMS/EJB sessions?*
> *
> *
> My task/goal is to be able to create speedometers displaying the number of active sessions for each of my MessageListener(s).
>
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to WildFly
Thank you for your reply.
Since we are using remote ActiveMQ I don't think this will be relevant for us.
But the feature you are adding, this is ActiveMQ sessions and not JMS sessions right? I believe "remote" ActiveMQ Artemis already have an API to retrieve that information.
Emmanuel Hugonnet
unread,
Jan 10, 2025, 9:32:11 AMJan 10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Christoffer A. Nilsen, WildFly
Le 10/01/2025 à 09:53, 'Christoffer A. Nilsen' via WildFly a écrit :
> Thank you for your reply.
> Since we are using remote ActiveMQ I don't think this will be relevant for us.
> But the feature you are adding, this is ActiveMQ sessions and not JMS sessions right? I believe "/remote"/ ActiveMQ Artemis already have
> an API to retrieve that information.
Correct, but JMS sessions are ActiveMQ sessions with a specific field to be able to detect them.
Emmanuel
>
> --
> You received this message because you are subscribed to the Google Groups "WildFly" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.