davsclaus commented on code in PR #31143:
URL: https://github.com/apache/camel/pull/31143#discussion_r4745789097


##########
components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedEndpoint.java:
##########
@@ -31,21 +31,33 @@
  */
 public abstract class FeedEndpoint extends DefaultPollingEndpoint {
 
-    @UriPath(description = "The URI to the feed to poll.")
+    @UriPath(description = "The URI of the Atom feed to poll: an http or https 
URL, which the feed reader fetches, or a"
+                           + " Camel resource URI such as file: or classpath: 
(classpath when there is no prefix). Query"
+                           + " parameters that are not options of this 
endpoint are kept in the feed URI.")
     @Metadata(required = true)
     protected String feedUri;
-    @UriParam(defaultValue = "true", description = "Sets whether or not 
entries should be sent "
-                                                   + "individually or whether 
the entire feed should be sent as a single message")
+    @UriParam(defaultValue = "true",
+              description = "Whether to route each entry of the feed as its 
own message, with the"
+                            + " com.apptasticsoftware.rssreader.Item as body. 
When false, each poll routes one message with"
+                            + " the List of all the entries of the feed as 
body, and the idempotent options and"
+                            + " throttleEntries do not apply.")
     protected boolean splitEntries = true;
 
-    @UriParam(label = "advanced", defaultValue = "true", description = "Sets 
whether to add the feed object as a header.")
+    @UriParam(label = "advanced", defaultValue = "true",
+              description = "Whether to set the List of all the entries of the 
feed in the CamelAtomFeed header of each message.")

Review Comment:
   Good catch, thanks. FeedEndpoint is shared with camel-rss, so the texts must 
hold for both. 9135f9e7e9f4 rewrites the 5 shared options (feedUri, 
splitEntries, feedHeader, sortEntries, throttleEntries) to say where Atom and 
RSS differ (CamelAtomFeed vs CamelRssFeed, RSS Reader Item vs ROME SyndFeed, 
the sort order, RSS needs a URL with a scheme and has no idempotent check), 
regenerates rss.json, its catalog copy and the RSS endpoint DSL, and rebases 
onto main.
   
   _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]

Reply via email to