gnodet-bot commented on code in PR #27745:
URL: https://github.com/apache/camel/pull/27745#discussion_r4252192772
##########
core/camel-api/src/main/java/org/apache/camel/RoutesBuilder.java:
##########
@@ -59,4 +60,20 @@ public interface RoutesBuilder {
*/
Set<String> updateRoutesToCamelContext(CamelContext context) throws
Exception;
+ /**
+ * Adds or updates the templated routes from this Route Builder to the
CamelContext.
+ * <p/>
+ * This is called after the routes (and route templates) of all the Route
Builders that are updated together have
+ * been updated, as a templated route may use a route template from
another Route Builder.
+ *
+ * @param context the Camel context
+ * @return route ids for the routes that was created from the
templated routes
Review Comment:
📝 **Nit:** Grammar — "routes that was created" should be "routes that were
created". (Same phrasing appears at line 58, so worth fixing both for
consistency.)
```suggestion
* @return route ids for the routes that were created from the
templated routes
```
--
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]