davsclaus commented on code in PR #26478:
URL: https://github.com/apache/camel/pull/26478#discussion_r4018872766
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/CatalogDocs.java:
##########
@@ -469,7 +469,7 @@ private static JsonObject apiReferenceDoc(CamelCatalog
catalog, ApiReferenceMode
/**
* The variables a script language binds, hand-written because each
language binds its own set with its own names
- * (groovy has camelContext and no message, javascript has context and
message), and how a script reaches the Camel
+ * (groovy has camelContext and request, javascript has context and no
request), and how a script reaches the Camel
* API and a registry bean from them; null for a language that is not a
script.
*/
Review Comment:
Fixed in 79a6c65fa66e: reworded to a contrast that still holds — the
CamelContext is `camelContext` in groovy and `context` in javascript, the
properties `exchangeProperties` vs `properties` — rather than the `message`
line, since both languages have `message` now.
_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]