Open bjpe opened 2 years ago
The MQ documentation describes that property and how the clientid would normally need to be unique on connections for a standards-compliant program.
Your config yaml file contains a clientid, so that is going to be set on all connections - which breaks the JMS rules, but the MQExtensions property allows you to go ahead anyway. I don't know why turning on caching also gets round it but perhaps it's reduced the number of connections that are getting made.
Hi everyone,
I have a Java application using Spring Boot 2.6.3 and mq-jms-spring-boot-starter in version 2.6.3 which subscribes to two durable topics using
@JmsListener
. When I disable the JMS cache, I get the following exception every 5 seconds:A minimal working example can be found at https://github.com/bjpe/jms-mq-jmscc0111, the application is running against a local MQ started in Docker via
If I either enable
com.ibm.mq.jms.SupportMQExtensions
orspring.jms-cache
, then the exception is not thrown.Is this a bug or am I missing something here? I would be glad for any help.
Kind Regards, Björn