Class FileLineIteratorPipe

All Implemented Interfaces:
HasSender, HasTransactionAttribute, IConfigurable, IConfigurationAware, IForwardTarget, INamedObject, IPipe, IScopeProvider, IWithParameters, EventThrowing, HasStatistics, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Deprecated @ConfigurationWarning("Please use StreamLineIteratorPipe") public class FileLineIteratorPipe extends StreamLineIteratorPipe
Deprecated.
Sends a message to a Sender for each line of the file that the input message refers to.
Author:
Gerrit van Brakel
  • Constructor Details

    • FileLineIteratorPipe

      public FileLineIteratorPipe()
      Deprecated.
  • Method Details

    • doPipe

      public PipeRunResult doPipe(Message input, PipeLineSession session) throws PipeRunException
      Deprecated.
      Open a reader for the file named according the input messsage and transform it. Move the input file to a done directory when transformation is finished and return the names of the generated files.
      Specified by:
      doPipe in interface IPipe
      Overrides:
      doPipe in class MessageSendingPipe
      Throws:
      PipeRunException
      See Also:
    • setMove2dirAfterTransform

      public void setMove2dirAfterTransform(String readyDir)
      Deprecated.
      Directory where input file is moved to in case of a successful transformation
    • setMove2dirAfterError

      public void setMove2dirAfterError(String errorDir)
      Deprecated.
      Directory where input file is moved to in case an error occurred
    • setCharset

      public void setCharset(String value)
      Deprecated.
      Default charset attribute
      Default value
      UTF-8
    • getMove2dirAfterTransform

      public String getMove2dirAfterTransform()
      Deprecated.
    • getMove2dirAfterError

      public String getMove2dirAfterError()
      Deprecated.
    • getCharset

      public String getCharset()
      Deprecated.