I have a Wildfly AS
setup for JMS, I;m monitoring it with Jconsole and have noticed that before I even create a session on my Consumer
or Producer
the thread count is steadily increasing, I was previously using Wildfly 9 final
for the same purpose, it's thread usage was steady even during use, but it had a memory leak which prompted me to upgrade.
In Jconsole
I can see:
Thread-2(ActiveMQ-client-global-threads-3258368)
Thread-4(ActiveMQ-client-global-threads-3258368)
Thread-5(ActiveMQ-client-global-threads-3258368)
Thread-6(ActiveMQ-client-global-threads-3258368)
.
.
.
Thread-16(ActiveMQ-client-global-threads-3258368)
How do I solve this problem? is there a setting I can change that is causing these threads to spawn, is there any more information I can take from Jconsole
to help me resolve this?