Skip to content

Conversation

@orpiske
Copy link
Contributor

@orpiske orpiske commented Jan 27, 2026

Summary

  • Reduce cognitive complexity in RestEndpoint.createProducer by extracting helper methods and using a record for factory results
  • Reduce cognitive complexity in RestEndpoint.createConsumer by extracting helper methods and using a record for factory results

Test plan

  • Build passes for camel-rest module

@github-actions
Copy link
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.

  • You can label PRs using build-all, build-dependents, 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.

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.

1 participant