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
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected FileWritingMessageHandler
void
setAppendNewLine
(Boolean appendNewLine) void
setAutoCreateDirectory
(Boolean autoCreateDirectory) void
setBufferSize
(Integer bufferSize) void
setCharset
(String charset) void
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>
-