org.springframework.integration.file.remote.handler
Class FileTransferringMessageHandler
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.file.remote.handler.FileTransferringMessageHandler
- All Implemented Interfaces:
- BeanFactoryAware, BeanNameAware, InitializingBean, Ordered, NamedComponent, Orderable, MessageHandler, TrackableComponent
public class FileTransferringMessageHandler
- extends AbstractMessageHandler
A MessageHandler
implementation that transfers files to a remote server.
- Since:
- 2.0
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FileTransferringMessageHandler
public FileTransferringMessageHandler(SessionFactory sessionFactory)
setRemoteDirectoryExpression
public void setRemoteDirectoryExpression(Expression remoteDirectoryExpression)
setTemporaryDirectory
public void setTemporaryDirectory(java.io.File temporaryDirectory)
setFileNameGenerator
public void setFileNameGenerator(FileNameGenerator fileNameGenerator)
setCharset
public void setCharset(java.lang.String charset)
onInit
protected void onInit()
throws java.lang.Exception
- Description copied from class:
IntegrationObjectSupport
- Subclasses may implement this for initialization logic.
- Overrides:
onInit
in class IntegrationObjectSupport
- Throws:
java.lang.Exception
handleMessageInternal
protected void handleMessageInternal(Message<?> message)
throws java.lang.Exception
- Specified by:
handleMessageInternal
in class AbstractMessageHandler
- Throws:
java.lang.Exception