Class StaticHeaderValueMessageProcessor<T>

java.lang.Object
org.springframework.integration.transformer.support.AbstractHeaderValueMessageProcessor<T>
org.springframework.integration.transformer.support.StaticHeaderValueMessageProcessor<T>
Type Parameters:
T - the value type.
All Implemented Interfaces:
MessageProcessor<T>, HeaderValueMessageProcessor<T>

public class StaticHeaderValueMessageProcessor<T> extends AbstractHeaderValueMessageProcessor<T>
Since:
3.0
Author:
Mark Fisher, Artem Bilan
  • Constructor Details

    • StaticHeaderValueMessageProcessor

      public StaticHeaderValueMessageProcessor(T value)
  • Method Details

    • processMessage

      public T processMessage(Message<?> message)
      Description copied from interface: MessageProcessor
      Process the Message and return a value (or null).
      Parameters:
      message - The message to process.
      Returns:
      The result.