Spring JMS - IBM MQ has open input count issue

2019-07-31 06:21发布

问题:

We are using Spring JMS to connect IBM MQ in that the MQ open input count keep on increase.is there any solution can we reduce the open input count. we are using concurrent connection as 1 only.

回答1:

The IBM MQ connection handle behaves differently with Spring configuration. If you are using the CachingConnectionFactory that spring provides, please read my answer in the below thread.

JMS connections exhausted using WebSphere MQ

Please add more details to better understand the issue. The Apache camel will dynamically scale up and down the open input counts based on the load. Hope this helps!



回答2:

That is a clear indication of your code not closing the queue you have opened. Close the consumer(s) you have created.