Class RemoveFromSessionPipe

All Implemented Interfaces:
FrankElement, HasApplicationContext, HasName, HasTransactionAttribute, IConfigurable, IForwardTarget, IPipe, IScopeProvider, IWithParameters, NameAware, EventThrowing, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle

@EnterpriseIntegrationPattern(SESSION) public class RemoveFromSessionPipe extends FixedForwardPipe
Removes a key specified by sessionKey from the pipeLineSession.
Author:
Peter Leeuwenburgh
See Also:
  • Constructor Details

    • RemoveFromSessionPipe

      public RemoveFromSessionPipe()
  • Method Details

    • doPipe

      public PipeRunResult doPipe(Message message, PipeLineSession session) throws PipeRunException
      Description copied from interface: IPipe
      This is where the action takes place. Pipes may only throw a PipeRunException, to be handled by the caller of this object. Implementations must either consume the message, or pass it on to the next Pipe in the PipeRunResult.
      Throws:
      PipeRunException
    • getSessionKey

      public String getSessionKey()
    • setSessionKey

      public void setSessionKey(String newSessionKey)
      name of the key of the entry in the pipelinesession to remove. If this key is empty the input message is interpretted as key. for multiple keys use ',' as delimiter