Disabling Spring JMS Auto configuration in Spring Boot Application

前端 未结 4 1545
旧时难觅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条回答
  •  心在旅途
    2020-12-16 13:40

    You can add the auto configurations, which you want to disable, to the SpringBootApplication annotation:

    @SpringBootApplication(exclude = JmsAutoConfiguration.class)
    

提交回复
热议问题