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(forRemoval=true, since="7.8.0") @ConfigurationWarning("Please use StreamLineIteratorPipe") public class FileLineIteratorPipe extends StreamLineIteratorPipe
Deprecated, for removal: This API element is subject to removal in a future version.
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, for removal: This API element is subject to removal in a future version.
  • Method Details

    • doPipe

      public PipeRunResult doPipe(Message input, PipeLineSession session) throws PipeRunException
      Deprecated, for removal: This API element is subject to removal in a future version.
      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, for removal: This API element is subject to removal in a future version.
      Directory where input file is moved to in case of a successful transformation
    • setMove2dirAfterError

      public void setMove2dirAfterError(String errorDir)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Directory where input file is moved to in case an error occurred
    • setCharset

      public void setCharset(String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Default charset attribute
      Default value
      UTF-8
    • getMove2dirAfterTransform

      public String getMove2dirAfterTransform()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getMove2dirAfterError

      public String getMove2dirAfterError()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getCharset

      public String getCharset()
      Deprecated, for removal: This API element is subject to removal in a future version.