Class FileWritingMessageHandlerFactoryBean

java.lang.Object
org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<FileWritingMessageHandler>
org.springframework.integration.file.config.FileWritingMessageHandlerFactoryBean
All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, FactoryBean<MessageHandler>, ApplicationContextAware, ApplicationEventPublisherAware

public class FileWritingMessageHandlerFactoryBean extends AbstractSimpleMessageHandlerFactoryBean<FileWritingMessageHandler>
Factory bean used to create FileWritingMessageHandlers.
Since:
1.0.3
Author:
Mark Fisher, Iwein Fuld, Oleg Zhurakousky, Gary Russell, Artem Bilan, Gunnar Hillert, Tony Falabella
  • Constructor Details

    • FileWritingMessageHandlerFactoryBean

      public FileWritingMessageHandlerFactoryBean()
  • Method Details

    • setFileExistsMode

      public void setFileExistsMode(String fileExistsModeAsString)
    • setDirectory

      public void setDirectory(File directory)
    • setCharset

      public void setCharset(String charset)
    • setDirectoryExpression

      public void setDirectoryExpression(Expression directoryExpression)
    • setFileNameGenerator

      public void setFileNameGenerator(FileNameGenerator fileNameGenerator)
    • setDeleteSourceFiles

      public void setDeleteSourceFiles(Boolean deleteSourceFiles)
    • setAutoCreateDirectory

      public void setAutoCreateDirectory(Boolean autoCreateDirectory)
    • setRequiresReply

      public void setRequiresReply(Boolean requiresReply)
    • setSendTimeout

      public void setSendTimeout(Long sendTimeout)
    • setTemporaryFileSuffix

      public void setTemporaryFileSuffix(String temporaryFileSuffix)
    • setExpectReply

      public void setExpectReply(boolean expectReply)
    • setAppendNewLine

      public void setAppendNewLine(Boolean appendNewLine)
    • setBufferSize

      public void setBufferSize(Integer bufferSize)
    • setFlushInterval

      public void setFlushInterval(long flushInterval)
    • setFlushWhenIdle

      public void setFlushWhenIdle(boolean flushWhenIdle)
    • setFlushPredicate

      public void setFlushPredicate(FileWritingMessageHandler.MessageFlushPredicate flushPredicate)
    • setChmod

      public void setChmod(String chmod)
    • setPreserveTimestamp

      public void setPreserveTimestamp(Boolean preserveTimestamp)
    • createHandler

      protected FileWritingMessageHandler createHandler()
      Specified by:
      createHandler in class AbstractSimpleMessageHandlerFactoryBean<FileWritingMessageHandler>