CAMEL-23535: camel-api - enhance class-level javadoc for lifecycle and context types#23311
Merged
Conversation
…vanced Camel Core Guides Refresh outdated version references, remove duplicate xrefs, fix mislabeled link, correct typos and misleading wording across the three core docs landing pages. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
…d context types Expand class-level javadoc on CamelContext, Service, exceptions and related lifecycle types in core/camel-api to better describe their role, when they apply, and how they relate to sibling types. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
Contributor
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
Contributor
|
🧪 CI tested the following changed modules:
Build reactor — dependencies compiled but only changed modules were tested (2 modules)
|
davsclaus
approved these changes
May 19, 2026
Merged
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
CAMEL-23535 asks for an audit and enhancement of the javadoc in
core/camel-apiso that classes better explain what they are, what they do, and how they fit into the framework, with links to the relevant user-manual pages.This PR is the first batch of that work: class-level javadoc on the lifecycle and context family of top-level public-API types. Scope is intentionally narrow so the prose style can be reviewed before the rest of
core/camel-apiis updated.Changes
Class-level javadoc expanded on 18 top-level types in
org.apache.camel:CamelContext,CamelContextAware,CamelContextLifecycle,CatalogCamelContext,ExtendedCamelContext,ContextEventsService,ServiceStatus,StatefulServiceRuntimeCamelException,CamelException,CamelExchangeException,AlreadyStoppedException,FailedToCreateRouteException,FailedToStartRouteException,FailedToStartComponentException,FailedToCreateConsumerException,FailedToCreateProducerExceptionEach updated docblock follows the same pattern: a one-sentence what-it-is, a paragraph on the role in routing / lifecycle, sibling-type
{@link}references, and (where a matching user-manual page exists) one<a href="https://camel.apache.org/manual/...">link. The convention matches the existing javadoc style inEndpoint.java,Component.java,Processor.java,Message.java,Route.java.The change is comment-only: no signatures, behaviour, or runtime code is altered.
Out of scope (follow-ups)
core/camel-api.org.apache.camel.*surface (messaging core, endpoints/components/producers/consumers, routes & builders, annotations & functional types) will land as subsequent batches under the same JIRA.org.apache.camel.spi.*and other sub-packages (catalog, console, cloudevents, cluster, clock, ai, health, vault, resume, trait, support).Target
mainbranch)Tracking
Apache Camel coding standards and style
Claude Code on behalf of Adriano Machado