Currently the easiest way is to exclude the ActiveMQAutoConfiguration
, see https://docs.spring.io/spring-boot/reference/using/auto-configuration.html#using.auto-configuration.disabling-specific for more details.
@SpringBootApplication(exclude = { ActiveMQAutoConfiguration.class })
public class MyApplication {
}
Another option is to use properties, e.g. in your application.properties:
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jms.activemq.ActiveMQAutoConfiguration