Everytime my application starts up it is spinning two "active" MDB connections, and we want to restrict it to only 1 active while the rest should be inactive. I tried putting the following
maxPoolDepth="1"
maxMessages="1"
But still there are two active session every time I startup the application on Open liberty. Whereas it works fine only single thread on local developer's machine when he added maxPoolDepth="1". It only keep 1 session active at a time.
Also note when I change the maxPoolDepth
to 0
on the server then there are no active connections, but when I change it to 1
it opens two active connections.