Class ScriptExecutingMessageProcessor

java.lang.Object
org.springframework.integration.scripting.AbstractScriptExecutingMessageProcessor<Object>
org.springframework.integration.scripting.jsr223.ScriptExecutingMessageProcessor
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.integration.handler.MessageProcessor<Object>

public class ScriptExecutingMessageProcessor extends AbstractScriptExecutingMessageProcessor<Object>
An AbstractScriptExecutingMessageProcessor implementation for evaluating scripts from the provided ScriptSource in the provided ScriptExecutor against an optional binding variables.
Since:
2.1
  • Constructor Details

    • ScriptExecutingMessageProcessor

      public ScriptExecutingMessageProcessor(org.springframework.scripting.ScriptSource scriptSource, ScriptExecutor scriptExecutor)
      Create a processor for the ScriptSource using the provided ScriptExecutor using the DefaultScriptVariableGenerator
      Parameters:
      scriptSource - The script source.
      scriptExecutor - The script executor.
    • ScriptExecutingMessageProcessor

      public ScriptExecutingMessageProcessor(org.springframework.scripting.ScriptSource scriptSource, ScriptVariableGenerator scriptVariableGenerator, ScriptExecutor scriptExecutor)
      Create a processor for the ScriptSource using the provided ScriptExecutor
      Parameters:
      scriptSource - The script source.
      scriptVariableGenerator - The script variable generator.
      scriptExecutor - The script executor.
    • ScriptExecutingMessageProcessor

      public ScriptExecutingMessageProcessor(org.springframework.scripting.ScriptSource scriptSource, ScriptExecutor scriptExecutor, Map<String,Object> variables)
      Create a processor for the ScriptSource using the provided ScriptExecutor using the DefaultScriptVariableGenerator
      Parameters:
      scriptSource - The script source.
      scriptExecutor - The script executor.
      variables - The variables.
  • Method Details