Package org.apache.camel.language.groovy
Interface GroovyShellFactory
public interface GroovyShellFactory
-
Method Summary
Modifier and TypeMethodDescriptiongroovy.lang.GroovyShell
createGroovyShell
(org.apache.camel.Exchange exchange) default String
getFileName
(org.apache.camel.Exchange exchange) getVariables
(org.apache.camel.Exchange exchange) This method provide a way to define some global variables that will be applied to all the groovy script context.
-
Method Details
-
createGroovyShell
groovy.lang.GroovyShell createGroovyShell(org.apache.camel.Exchange exchange) -
getFileName
-
getVariables
This method provide a way to define some global variables that will be applied to all the groovy script context.- Parameters:
exchange
- the camel exchange in process.- Returns:
- the global variables that will be applied to all the groovy script context.
-