Skip to content

CAMEL-23345: Document HTTP 429 Retry-After hang and automaticRetriesDisabled workaround#23309

Merged
davsclaus merged 2 commits into
mainfrom
fix/camel-23345-http-429-docs
May 18, 2026
Merged

CAMEL-23345: Document HTTP 429 Retry-After hang and automaticRetriesDisabled workaround#23309
davsclaus merged 2 commits into
mainfrom
fix/camel-23345-http-429-docs

Conversation

@davsclaus
Copy link
Copy Markdown
Contributor

Summary

  • Adds a new "Handling HTTP 429 Too Many Requests" section to the HTTP component docs explaining that Apache HttpClient 5 (since 5.5.x) honors the Retry-After header on 429 responses, which can cause the component to appear hung for long durations (e.g. Retry-After: 3600 → 1-hour wait).
  • Documents automaticRetriesDisabled=true as the workaround, with both Java and URI option examples.
  • Improves the @Metadata description of automaticRetriesDisabled on HttpComponent to mention the 429 use case.

Test plan

  • Documentation-only change; no functional code changed.
  • Full root build (mvn install -Dquickly) completed successfully with regenerated catalog JSON files included.

Fixes: https://issues.apache.org/jira/browse/CAMEL-23345
Upstream: https://issues.apache.org/jira/browse/HTTPCLIENT-2421

Claude Code on behalf of Claus Ibsen

…isabled workaround

Adds a new section to the HTTP component docs explaining that Apache
HttpClient 5 (since 5.5.x) honors the Retry-After header on 429 responses,
which can cause the component to appear hung for long durations.
Documents the automaticRetriesDisabled option as the workaround.
Also improves the @metadata description of automaticRetriesDisabled to
mention the 429 use case.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@github-actions
Copy link
Copy Markdown
Contributor

🧪 CI tested the following changed modules:

  • catalog/camel-catalog
  • components/camel-http
  • dsl/camel-componentdsl

ℹ️ Dependent modules were not tested because the total number of affected modules exceeded the threshold (50). Use the test-dependents label to force testing all dependents.

Build reactor — dependencies compiled but only changed modules were tested (3 modules)
  • Camel :: Catalog :: Camel Catalog
  • Camel :: Component DSL
  • Camel :: HTTP

⚙️ View full build and test results

@davsclaus davsclaus merged commit deb2828 into main May 18, 2026
7 checks passed
@davsclaus davsclaus deleted the fix/camel-23345-http-429-docs branch May 18, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants