13.5.3. GroovyActionProcessor
Class | org.jboss.soa.esb.actions.scripting.GroovyActionProcessor |
This action executes a Groovy action processing script, receiving the message, payloadProxy, action configuration and logger as variable input.
Property | Description | Required |
---|---|---|
script |
Path (on classpath) to Groovy script.
| |
supportMessageBasedScripting |
Allow scripts within the message.
| |
cacheScript |
Should the script be cached. Defaults to
true .
| No |
Variable | Description |
---|---|
message |
The Message
|
payloadProxy |
Utility for message payload (MessagePayloadProxy).
|
config |
The action configuration (ConfigTree).
|
logger |
The GroovyActionProcessor's static Log4J logger (Logger). The logging category is jbossesb.<esb_archive_name>.<category>.<service>
|
<action name="process" class="org.jboss.soa.esb.scripting.GroovyActionProcessor"> <property name="script" value="/scripts/myscript.groovy"/> </action>