That's expected. ActiveMQ multiplexes multiple sessions into one connection, so you'll only see one consumer there. The number of concurrently active inactive MDB instances is not a 1:1 with the consumer count.
Jon On Tue, 7 Jul 2020, 07:30 Dignesh, <[email protected]> wrote: > Hi Jon, > > Looks like you resolved the issue - > https://issues.apache.org/jira/browse/TOMEE-2859 > I have made the diff(s) of changes locally, I am now able to see the > instances count in JMX. > > screenshot.JPG > <http://tomee-openejb.979440.n4.nabble.com/file/t375864/screenshot.JPG> > instancecount.JPG > <http://tomee-openejb.979440.n4.nabble.com/file/t375864/instancecount.JPG> > > > If you refer the instanceCount screenshot, the values are populated > properly. > However, I was under impression that all the instances of consumers will be > shown in JMX broker. But I still see only one consumer - refer to > screenshot.jpg. > > Is that expected ? - TomEE will only show the instancecount and > instanceLimit, but consumer displayed will always be one ? > > Thank you once again. > > > > -- > Sent from: > http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html >
