Disabling Spring JMS Auto configuration in Spring Boot Application

前端 未结 4 1546
旧时难觅i
旧时难觅i 2020-12-16 12:49

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

4条回答
  •  猫巷女王i
    2020-12-16 13:28

    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
    

提交回复
热议问题