Skip to content

Commit f030fcd

Browse files
committed
Updated default property paths
I was recently looking into how to define quorum queue creation for all bindings by default and noticed that the documentation did not accurately specify the path. According to the current documentation: `spring.cloud.stream.rabbit.default.quorum.enabled=true` But it is actually: `spring.cloud.stream.rabbit.default.consumer.quorum.enabled=true` for consumers OR `spring.cloud.stream.rabbit.default.producer.quorum.enabled=true` for producers. Source: https://github.com/cosmin-enache/spring-cloud-stream/blob/main/binders/rabbit-binder/spring-cloud-stream-binder-rabbit-core/src/main/java/org/springframework/cloud/stream/binder/rabbit/properties/RabbitBindingProperties.java#L27-L29 Signed-off-by: Cosmin Enache <44037571+cosmin-enache@users.noreply.github.com>
1 parent f2c37ca commit f030fcd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/modules/ROOT/pages/rabbit/rabbit_overview/prod-props.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The following properties are available for Rabbit producers only and must be pre
55

66
However if the same set of properties needs to be applied to most bindings, to
77
avoid repetition, Spring Cloud Stream supports setting values for all channels,
8-
in the format of `spring.cloud.stream.rabbit.default.<property>=<value>`.
8+
in the format of `spring.cloud.stream.rabbit.default.producer.<property>=<value>`.
99

1010
Also, keep in mind that binding specific property will override its equivalent in the default.
1111

docs/modules/ROOT/pages/rabbit/rabbit_overview/rabbitmq-consumer-properties.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The following properties are available for Rabbit consumers only and must be pre
55

66
However if the same set of properties needs to be applied to most bindings, to
77
avoid repetition, Spring Cloud Stream supports setting values for all channels,
8-
in the format of `spring.cloud.stream.rabbit.default.<property>=<value>`.
8+
in the format of `spring.cloud.stream.rabbit.default.consumer.<property>=<value>`.
99

1010
Also, keep in mind that binding specific property will override its equivalent in the default.
1111

0 commit comments

Comments
 (0)