You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2023/03/27 08:18:47 UTC

[GitHub] [camel] davsclaus commented on a diff in pull request #9648: provide a way to define global groovy variables

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


##########
components/camel-groovy/src/main/java/org/apache/camel/language/groovy/GroovyShellFactory.java:
##########
@@ -27,4 +29,8 @@ default String getFileName(Exchange exchange) {
         return null;
     }
 
+    default Map<String, Object> getVariables(Exchange exchange) {

Review Comment:
   Can you add javadoc with details what is the purpose of this new method



-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org