Skip to content

Commit 78b6fe1

Browse files
authored
Merge pull request #3199 from won-seoop/doc-3142-republish-to-dlq-default
GH-3142: Clarify republishToDlq default behaviour in docs
2 parents 3e9eed1 + 874007f commit 78b6fe1

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,8 @@ When `republishToDlq` is `true`, specifies the delivery mode of the republished
272272
+
273273
Default: `DeliveryMode.PERSISTENT`
274274
republishToDlq::
275-
By default, messages that fail after retries are exhausted are rejected.
276-
If a dead-letter queue (DLQ) is configured, RabbitMQ routes the failed message (unchanged) to the DLQ.
277-
If set to `true`, the binder republishs failed messages to the DLQ with additional headers, including the exception message and stack trace from the cause of the final failure.
275+
When set to `true` (the default), the binder republishes failed messages to the dead-letter queue (DLQ) with additional headers, including the exception message and stack trace from the cause of the final failure.
276+
When set to `false`, messages that fail after retries are exhausted are rejected; if a dead-letter queue is configured, RabbitMQ then routes the rejected message (unchanged, without extra headers) to the DLQ.
278277
Also see the xref:rabbit/rabbit_overview/rabbitmq-consumer-properties.adoc#spring-cloud-stream-rabbit-frame-max-headroom[frameMaxHeadroom property].
279278
+
280279
Default: `true`

0 commit comments

Comments
 (0)