Interface GroovyShellFactory


  • public interface GroovyShellFactory
    • Method Detail

      • createGroovyShell

        groovy.lang.GroovyShell createGroovyShell​(org.apache.camel.Exchange exchange)
      • getFileName

        default String getFileName​(org.apache.camel.Exchange exchange)
      • getVariables

        default Map<String,​Object> 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.
        Parameters:
        exchange - the camel exchange in process.
        Returns:
        the global variables that will be applied to all the groovy script context.