Prevent rabbitmq starter to bring webflux on the classpath

This commit excludes `com.rabbitmq:http-client` from `spring-rabbit` as
the former brings spring webflux for an optional feature. This also
prevents Spring Boot to consider that a web server should be started as
all the necessary pieces are unexpectedly present.

Closes gh-12853
This commit is contained in:
Stephane Nicoll 2018-04-26 16:44:42 +02:00
parent ae499c2c44
commit fbe88c483e
1 changed files with 6 additions and 0 deletions

View File

@ -2574,6 +2574,12 @@
<groupId>org.springframework.amqp</groupId>
<artifactId>spring-rabbit</artifactId>
<version>${spring-amqp.version}</version>
<exclusions>
<exclusion>
<groupId>com.rabbitmq</groupId>
<artifactId>http-client</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.amqp</groupId>