Class GroovyStaticScript
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Script
org.apache.camel.quarkus.component.groovy.runtime.GroovyStaticScript
- All Implemented Interfaces:
groovy.lang.GroovyObject
public abstract class GroovyStaticScript
extends groovy.lang.Script
A type of
Script that is specific to Camel with fixed fields to be able to compile the script using
static compilation.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Objectprotected org.apache.camel.CamelContextprotected org.apache.camel.Exchangeprotected org.apache.camel.Messageprotected org.apache.camel.Messageprotected org.apache.camel.Messageprotected org.apache.camel.Messageprotected org.apache.camel.RouteTemplateContext -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class groovy.lang.Script
evaluate, evaluate, getBinding, getProperty, invokeMethod, print, printf, printf, println, println, run, run, setPropertyMethods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
-
Field Details
-
headers
-
body
-
in
protected org.apache.camel.Message in -
request
protected org.apache.camel.Message request -
exchange
protected org.apache.camel.Exchange exchange -
out
protected org.apache.camel.Message out -
response
protected org.apache.camel.Message response -
camelContext
protected org.apache.camel.CamelContext camelContext -
rtc
protected org.apache.camel.RouteTemplateContext rtc
-
-
Constructor Details
-
GroovyStaticScript
public GroovyStaticScript()
-
-
Method Details
-
setBinding
public void setBinding(groovy.lang.Binding binding) - Overrides:
setBindingin classgroovy.lang.Script
-