In my spring boot application i configure two different instances of MQQueueConnectionFactory (different id) as it is a need of the application. For that i have added ibm cl
if want to control it via the properties (in this case a application.yml) then you can do something like this.
spring: autoconfigure: exclude: org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration