davsclaus commented on code in PR #30946:
URL: https://github.com/apache/camel/pull/30946#discussion_r4717783881
##########
components/camel-spring-parent/camel-spring/src/main/java/org/apache/camel/component/event/EventEndpoint.java:
##########
@@ -61,7 +61,10 @@ public class EventEndpoint extends DefaultEndpoint
implements ApplicationContext
private LoadBalancer loadBalancer;
private ApplicationContext applicationContext;
- @UriPath(description = "Name of endpoint")
+ @UriPath(description = "The name of the endpoint. The producer publishes a
body that is not an ApplicationEvent as a"
+ + " CamelEvent, which only the consumers of
endpoints with the same name receive. Every other"
+ + " ApplicationEvent of the ApplicationContext,
also one that a producer publishes, goes to the"
+ + " consumers of all spring-event endpoints,
whatever their name.")
Review Comment:
Thanks, split into shorter sentences in 3fedc25e41c7 (without the em dash,
and keeping "the producer wraps it" so it is clear which side does it).
_Claude Code on behalf of davsclaus_
--
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]