Class DefaultScriptVariableGenerator

java.lang.Object
org.springframework.integration.scripting.DefaultScriptVariableGenerator
All Implemented Interfaces:
ScriptVariableGenerator

public class DefaultScriptVariableGenerator
extends java.lang.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
  • Constructor Summary

    Constructors 
    Constructor Description
    DefaultScriptVariableGenerator()  
    DefaultScriptVariableGenerator​(java.util.Map<java.lang.String,​java.lang.Object> variableMap)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Map<java.lang.String,​java.lang.Object> generateScriptVariables​(org.springframework.messaging.Message<?> message)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait