Skip to content

GH-3142: Clarify republishToDlq default behaviour in docs#3199

Open
won-seoop wants to merge 1 commit into
spring-cloud:mainfrom
won-seoop:doc-3142-republish-to-dlq-default
Open

GH-3142: Clarify republishToDlq default behaviour in docs#3199
won-seoop wants to merge 1 commit into
spring-cloud:mainfrom
won-seoop:doc-3142-republish-to-dlq-default

Conversation

@won-seoop

Copy link
Copy Markdown
Contributor

Summary

Fixes #3142.

The previous description of republishToDlq opened with:

By default, messages that fail after retries are exhausted are rejected.

This sentence implies the default is false (reject on failure). However the actual default is true (republish to the DLQ with additional error headers). The misleading opening was a carry-over from when the default was false and was later changed.

This PR rewrites the description to:

  1. Lead with the true (default) behaviour: binder republishes with extra headers.
  2. Describe the false behaviour explicitly: rejected; RabbitMQ routes unchanged to DLQ if one is configured.

No code changes — docs only.

Test plan

  • Verify rendered docs show Default: true with a matching prose description.

🤖 Generated with Claude Code

The previous description opened with "By default, messages that fail after
retries are exhausted are rejected", which implies the default is false
(reject). The actual default is true (republish with extra headers).

Rewrite the description to lead with the true default behaviour and
describe the false case explicitly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect republishToDlq property default value in documentation

1 participant