org.springframework.integration.groovy
Class GroovyScriptExecutingMessageProcessor
java.lang.Object
org.springframework.integration.handler.AbstractScriptExecutingMessageProcessor<Object>
org.springframework.integration.groovy.GroovyScriptExecutingMessageProcessor
- All Implemented Interfaces:
- MessageProcessor<Object>
public class GroovyScriptExecutingMessageProcessor
- extends AbstractScriptExecutingMessageProcessor<Object>
- Since:
- 2.0
- Author:
- Dave Syer, Mark Fisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroovyScriptExecutingMessageProcessor
public GroovyScriptExecutingMessageProcessor(ScriptSource scriptSource)
executeScript
protected Object executeScript(ScriptSource scriptSource,
Message<?> message)
throws Exception
- Description copied from class:
AbstractScriptExecutingMessageProcessor
- Subclasses must implement this method. In doing so, the execution context for the
script should be populated with the Message's 'payload' and 'headers' as variables.
- Specified by:
executeScript
in class AbstractScriptExecutingMessageProcessor<Object>
- Throws:
Exception
Copyright © 2010. All Rights Reserved.