We have Jboss6 application server 23 different MDBs listening 23 different queues are deployed and All MDBs have minSession=1 and maxSession=1. StrictMaxPool in is set to 15.
Queues are created in HornetQ Server version 2.2.14.Final (HQ_2_2_14_FINAL, 122) and running in separate jvm
And WorkManagerThreadPool is set as below.
What I understood is that
Did I understood the stuff correctly or missing/misunderstood the concept?
What I could not understand
maxSession, will 15 sessions per MDB will be created? If yes where will those instances resides? In MDB pool (Resource Adaptor implementation knows nothing about the application servers MDB implementation?
From where Thread-1574 is coming if we have set Thread Pool as 100? is it some "global" thread pool? If so in which configuration file it is configured?
I read HornetQ threads and comment from jbertram Well, these threads come from a pool (i.e. the "global" pool as you can see by the name) which means you aren't guaranteed to get the same thread everytime.
I could not find where this global thread pool is configured. On client consuming messges or on HornetQ server?
Also from logs I could see that some mdbs stop consuming messages for a while and then start again. For eg. mdb1 to mdb6 listen for some time and then stop. Then after some time again start listening.
This happens even if there are thousands of messages in queue.