Eliminate Duplicate RabbitMQ Configuration Options
Fixes #447 Some Rabbit MQ configuration properties duplicate options already found in Spring Boot.
This commit is contained in:
committed by
Gary Russell
parent
b5099b610e
commit
ba371ab67a
@@ -584,26 +584,17 @@ implementations.
|
||||
|
||||
==== Rabbit MQ Binder properties
|
||||
|
||||
The binder supports the all Spring Boot properties for Rabbit MQ configuration.
|
||||
By default, the binder uses the Spring Boot `ConnectionFactory` and therefore it supports all the Spring Boot
|
||||
configuration options for Rabbit MQ.
|
||||
For reference, consult the [Spring Boot documentation](http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#common-application-properties).
|
||||
Rabbit MQ configuration options use the `spring.rabbitmq` prefix.
|
||||
|
||||
In addition to that, it also supports the following properties:
|
||||
|
||||
spring.cloud.stream.rabbit.binder.addresses::
|
||||
A comma-separated list of RabbitMQ server addresses (used only for clustering and in conjunction with `nodes`). Default empty.
|
||||
spring.cloud.stream.rabbit.binder.adminAddresses. Default empty.
|
||||
A comma-separated list of RabbitMQ management plugin URLs - only used when nodes contains more than one entry. Entries in this list must correspond to the corresponding entry in addresses. Default empty.
|
||||
A comma-separated list of RabbitMQ management plugin URLs - only used when nodes contains more than one entry. Each entry in this list must have a corresponding entry in `spring.rabbitmq.addresses`. Empty by default.
|
||||
spring.cloud.stream.rabbit.binder.nodes::
|
||||
A comma-separated list of RabbitMQ node names; when more than one entry, used to locate the server address where a queue is located. Entries in this list must correspond to the corresponding entry in addresses. Default empty.
|
||||
spring.cloud.stream.rabbit.rabbit.username::
|
||||
The user name. Default `null`.
|
||||
spring.cloud.stream.rabbit.binder.password::
|
||||
The password. Default `null`.
|
||||
spring.cloud.stream.rabbit.binder.vhost::
|
||||
The virtual host. Default `null`.
|
||||
spring.cloud.stream.rabbit.binder.useSSL::
|
||||
True if Rabbit MQ should use SSL.
|
||||
spring.cloud.stream.rabbit.binder.sslPropertiesLocation::
|
||||
The location of the SSL properties file, when certificate exchange is used.
|
||||
A comma-separated list of RabbitMQ node names; when more than one entry, used to locate the server address where a queue is located. Each entry in this list must have a corresponding entry in `spring.rabbitmq.addresses`. Empty by default.
|
||||
spring.cloud.stream.rabbit.binder.compressionLevel::
|
||||
Compression level for compressed bindings. Defaults to `1` (BEST_LEVEL). See `java.util.zip.Deflater`.
|
||||
|
||||
@@ -982,4 +973,4 @@ hello world 1458595077732
|
||||
hello world 1458595078733
|
||||
hello world 1458595079734
|
||||
hello world 1458595080735
|
||||
----
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user