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
FileWritingMessageHandler
s.- Since:
- 1.0.3
- Author:
- Mark Fisher, Iwein Fuld, Oleg Zhurakousky, Gary Russell, Artem Bilan, Gunnar Hillert, Tony Falabella
-
Field Summary
Fields inherited from class org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean
logger
-
Constructor Summary
Constructors Constructor Description FileWritingMessageHandlerFactoryBean()
-
Method Summary
Modifier and Type Method Description protected FileWritingMessageHandler
createHandler()
void
setAppendNewLine(Boolean appendNewLine)
void
setAutoCreateDirectory(Boolean autoCreateDirectory)
void
setBufferSize(Integer bufferSize)
void
setCharset(String charset)
void
setChmod(String chmod)
void
setDeleteSourceFiles(Boolean deleteSourceFiles)
void
setDirectory(File directory)
void
setDirectoryExpression(Expression directoryExpression)
void
setExpectReply(boolean expectReply)
void
setFileExistsMode(String fileExistsModeAsString)
void
setFileNameGenerator(FileNameGenerator fileNameGenerator)
void
setFlushInterval(long flushInterval)
void
setFlushPredicate(FileWritingMessageHandler.MessageFlushPredicate flushPredicate)
void
setFlushWhenIdle(boolean flushWhenIdle)
void
setPreserveTimestamp(Boolean preserveTimestamp)
void
setRequiresReply(Boolean requiresReply)
void
setSendTimeout(Long sendTimeout)
void
setTemporaryFileSuffix(String temporaryFileSuffix)
Methods inherited from class org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean
createHandlerInternal, getBeanFactory, getObject, getObjectType, getPreCreationHandlerType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setAsync, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel, setOutputChannelName
-
Constructor Details
-
FileWritingMessageHandlerFactoryBean
public FileWritingMessageHandlerFactoryBean()
-
-
Method Details
-
setFileExistsMode
-
setDirectory
-
setCharset
-
setDirectoryExpression
-
setFileNameGenerator
-
setDeleteSourceFiles
-
setAutoCreateDirectory
-
setRequiresReply
-
setSendTimeout
-
setTemporaryFileSuffix
-
setExpectReply
public void setExpectReply(boolean expectReply) -
setAppendNewLine
-
setBufferSize
-
setFlushInterval
public void setFlushInterval(long flushInterval) -
setFlushWhenIdle
public void setFlushWhenIdle(boolean flushWhenIdle) -
setFlushPredicate
-
setChmod
-
setPreserveTimestamp
-
createHandler
- Specified by:
createHandler
in classAbstractSimpleMessageHandlerFactoryBean<FileWritingMessageHandler>
-