Rabbit binder environment should be named rabbitmq

In the context of trying to configure Rabbit, the docs mention that the Rabbit config properties be added under `rabbit`:

```
      ...
      binders:
        rabbit1:
          type: rabbit
          environment:
            spring:
              rabbit:
                host: <host1>
      ...
```

however, the properties should be configured under `rabbitmq` as reference in the [Spring Boot Appendix A](https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html)
This commit is contained in:
Donovan Muller
2016-02-08 08:32:59 +02:00
parent bfa4c77e40
commit ccc6049adc

View File

@@ -284,13 +284,13 @@ spring:
type: rabbit
environment:
spring:
rabbit:
rabbitmq:
host: <host1>
rabbit2:
type: rabbit
environment:
spring:
rabbit:
rabbitmq:
host: <host2>
----