Class DefaultScriptVariableGenerator
java.lang.Object
org.springframework.integration.scripting.DefaultScriptVariableGenerator
- All Implemented Interfaces:
ScriptVariableGenerator
public class DefaultScriptVariableGenerator extends Object implements ScriptVariableGenerator
A default
ScriptVariableGenerator
implementation; used by script processors.
The result of generateScriptVariables(Message)
is a Map
of any provided variables
plus payload
and headers
from the Message
argument.- Since:
- 2.0.2
- Author:
- Oleg Zhurakousky, Mark Fisher
-
Constructor Summary
Constructors Constructor Description DefaultScriptVariableGenerator()
DefaultScriptVariableGenerator(Map<String,Object> variableMap)
-
Method Summary
Modifier and Type Method Description Map<String,Object>
generateScriptVariables(Message<?> message)
-
Constructor Details
-
DefaultScriptVariableGenerator
public DefaultScriptVariableGenerator() -
DefaultScriptVariableGenerator
-
-
Method Details
-
generateScriptVariables
- Specified by:
generateScriptVariables
in interfaceScriptVariableGenerator
-