Class FileWritingMessageHandlerFactoryBean
java.lang.Object
org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<FileWritingMessageHandler>
org.springframework.integration.file.config.FileWritingMessageHandlerFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.FactoryBean<org.springframework.messaging.MessageHandler>
,org.springframework.context.ApplicationContextAware
,org.springframework.context.ApplicationEventPublisherAware
public class FileWritingMessageHandlerFactoryBean extends org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<FileWritingMessageHandler>
Factory bean used to create
FileWritingMessageHandler
s.- Since:
- 1.0.3
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FileWritingMessageHandlerFactoryBean()
-
Method Summary
Modifier and Type Method Description protected FileWritingMessageHandler
createHandler()
void
setAppendNewLine(java.lang.Boolean appendNewLine)
void
setAutoCreateDirectory(java.lang.Boolean autoCreateDirectory)
void
setBufferSize(java.lang.Integer bufferSize)
void
setCharset(java.lang.String charset)
void
setChmod(java.lang.String chmod)
void
setDeleteSourceFiles(java.lang.Boolean deleteSourceFiles)
void
setDirectory(java.io.File directory)
void
setDirectoryExpression(org.springframework.expression.Expression directoryExpression)
void
setExpectReply(boolean expectReply)
void
setFileExistsMode(java.lang.String fileExistsModeAsString)
void
setFileNameGenerator(FileNameGenerator fileNameGenerator)
void
setFlushInterval(long flushInterval)
void
setFlushPredicate(FileWritingMessageHandler.MessageFlushPredicate flushPredicate)
void
setFlushWhenIdle(boolean flushWhenIdle)
void
setPreserveTimestamp(java.lang.Boolean preserveTimestamp)
void
setRequiresReply(java.lang.Boolean requiresReply)
void
setSendTimeout(java.lang.Long sendTimeout)
void
setTemporaryFileSuffix(java.lang.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
public void setFileExistsMode(java.lang.String fileExistsModeAsString) -
setDirectory
public void setDirectory(java.io.File directory) -
setCharset
public void setCharset(java.lang.String charset) -
setDirectoryExpression
public void setDirectoryExpression(org.springframework.expression.Expression directoryExpression) -
setFileNameGenerator
-
setDeleteSourceFiles
public void setDeleteSourceFiles(java.lang.Boolean deleteSourceFiles) -
setAutoCreateDirectory
public void setAutoCreateDirectory(java.lang.Boolean autoCreateDirectory) -
setRequiresReply
public void setRequiresReply(java.lang.Boolean requiresReply) -
setSendTimeout
public void setSendTimeout(java.lang.Long sendTimeout) -
setTemporaryFileSuffix
public void setTemporaryFileSuffix(java.lang.String temporaryFileSuffix) -
setExpectReply
public void setExpectReply(boolean expectReply) -
setAppendNewLine
public void setAppendNewLine(java.lang.Boolean appendNewLine) -
setBufferSize
public void setBufferSize(java.lang.Integer bufferSize) -
setFlushInterval
public void setFlushInterval(long flushInterval) -
setFlushWhenIdle
public void setFlushWhenIdle(boolean flushWhenIdle) -
setFlushPredicate
-
setChmod
public void setChmod(java.lang.String chmod) -
setPreserveTimestamp
public void setPreserveTimestamp(java.lang.Boolean preserveTimestamp) -
createHandler
- Specified by:
createHandler
in classorg.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<FileWritingMessageHandler>
-