public class DefaultScriptVariableGenerator extends java.lang.Object implements ScriptVariableGenerator
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.Constructor and Description |
---|
DefaultScriptVariableGenerator() |
DefaultScriptVariableGenerator(java.util.Map<java.lang.String,java.lang.Object> variableMap) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
generateScriptVariables(Message<?> message) |
public DefaultScriptVariableGenerator()
public DefaultScriptVariableGenerator(java.util.Map<java.lang.String,java.lang.Object> variableMap)
public java.util.Map<java.lang.String,java.lang.Object> generateScriptVariables(Message<?> message)
generateScriptVariables
in interface ScriptVariableGenerator