davsclaus opened a new pull request, #30946: URL: https://github.com/apache/camel/pull/30946
# Description Part of [CAMEL-23832](https://issues.apache.org/jira/browse/CAMEL-23832). The umbrella ticket stays open. ## Summary New texts for the component description and the one endpoint option (`name`) of the `spring-event` component in camel-spring. The rest of camel-spring is not touched. The component has no headers and no component options of its own. The texts were checked against the Camel code (`EventEndpoint`, `EventComponent`, `EventConsumer`, `CamelEvent` and the forwarding in `SpringCamelContext`). - Component: "Listen for Spring Application Events." did not mention the producer. It is now "Publish and receive the Spring ApplicationEvents of the Spring ApplicationContext." - `name`: "Name of endpoint" did not say what the name does. It only selects which consumers receive a `CamelEvent` that a producer publishes (a body that is not an `ApplicationEvent`). Every other `ApplicationEvent`, including one that a producer publishes as it is, goes to the consumers of every spring-event endpoint, whatever their name. ### Found, not changed - `EventComponent` does not implement `ApplicationListener`. Only the `spring-event` component that `SpringCamelContext` creates in `setApplicationContext` gets events. If a `spring-event` component is registered before that (for example a hand-made `EventComponent`), `SpringCamelContext` does not create its own, nothing calls `onApplicationEvent` of the registered one, and its consumers receive no events. - The `name` path option is optional and has no default. The doc page uses `spring-event://default` and `spring-event:default` in its examples. ## Tests - There is no new test, as only description text changes. - A script compared the component JSON with the parent commit: only `description` fields changed (2 texts). # Target - [x] I checked that the commit is targeting the correct branch (Camel 4 uses the `main` branch) # Tracking - [x] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). # Apache Camel coding standards and style - [x] I checked that each commit in the pull request has a meaningful subject line and body. - [x] I ran the formatter and built the module, then regenerated the catalog copy, `dsl/camel-endpointdsl` and `dsl/camel-componentdsl`, and committed all generated changes. # AI-assisted contributions - [x] If this PR includes AI-generated code, commits have proper co-authorship attribution (e.g., `Co-authored-by` trailers) and the PR description identifies the AI tool used. _Claude Code on behalf of davsclaus_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
