Rationalize RabbitProperties
Closes gh-18830
This commit is contained in:
@@ -5330,6 +5330,9 @@ Alternatively, you could configure the same connection using the `addresses` att
|
||||
spring.rabbitmq.addresses=amqp://admin:secret@localhost
|
||||
----
|
||||
|
||||
NOTE: When specifying addresses that way, the `host` and `port` properties are ignored.
|
||||
If the address uses the `amqps` protocol, SSL support is enabled automatically.
|
||||
|
||||
If a `ConnectionNameStrategy` bean exists in the context, it will be automatically used to name connections created by the auto-configured `ConnectionFactory`.
|
||||
See {spring-boot-autoconfigure-module-code}/amqp/RabbitProperties.java[`RabbitProperties`] for more of the supported options.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user