Package org.frankframework.filesystem
Class FileSystemSenderWithAttachments<F,A,FS extends IMailFileSystem<F,A>>
java.lang.Object
org.frankframework.senders.AbstractSender
org.frankframework.senders.AbstractSenderWithParameters
org.frankframework.filesystem.AbstractFileSystemSender<F,FS>
org.frankframework.filesystem.FileSystemSenderWithAttachments<F,A,FS>
- All Implemented Interfaces:
FrankElement
,HasApplicationContext
,HasName
,HasPhysicalDestination
,IConfigurable
,IScopeProvider
,ISender
,ISenderWithParameters
,IWithParameters
,NameAware
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.context.Lifecycle
@Deprecated
public class FileSystemSenderWithAttachments<F,A,FS extends IMailFileSystem<F,A>>
extends AbstractFileSystemSender<F,FS>
Deprecated.
FileSystem Sender extension to handle Attachments.
-
Field Summary
FieldsFields inherited from class org.frankframework.senders.AbstractSenderWithParameters
parameterNamesMustBeUnique, paramList
Fields inherited from class org.frankframework.senders.AbstractSender
log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Configure this component.sendMessage
(Message message, PipeLineSession session) Deprecated.Send a message to some destination (as configured in the Sender object).Methods inherited from class org.frankframework.filesystem.AbstractFileSystemSender
addActions, getAction, getDomain, getFileSystem, getPhysicalDestinationName, setAction, setCharset, setCreateFolder, setDeleteEmptyFolder, setDestination, setExcludeWildcard, setFilename, setFileSystem, setInputFolder, setNumberOfBackups, setOutputFormat, setOverwrite, setRemoveNonEmptyFolder, setRotateDays, setRotateSize, setTypeFilter, setWildcard, setWriteLineSeparator, start, stop
Methods inherited from class org.frankframework.senders.AbstractSenderWithParameters
addParameter, checkStringAttributeOrParameter, consumesSessionVariable, getParameterList, getParameterOverriddenAttributeValue, getParameterOverriddenAttributeValue, getParameterValueList
Methods inherited from class org.frankframework.senders.AbstractSender
createBean, getLogPrefix, getName, isRunning, setApplicationContext, setName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
Methods inherited from interface org.frankframework.core.HasApplicationContext
getApplicationContext, getConfigurationClassLoader
Methods inherited from interface org.frankframework.core.ISender
isSynchronous, sendMessageOrThrow
-
Field Details
-
Constructor Details
-
Method Details
-
configure
Deprecated.Description copied from interface:IConfigurable
Configure this component.configure()
is called once at startup of the framework in the configure method of the owner of thisIConfigurable
. Purpose of this method is to check whether the static configuration of the object is correct. As much as possible class-instantiating should take place in theconfigure()
, to improve performance.In the case of a container, this will propagate the configure signal to all components that apply.
- Specified by:
configure
in interfaceIConfigurable
- Overrides:
configure
in classAbstractFileSystemSender<F,
FS extends IMailFileSystem<F, A>> - Throws:
ConfigurationException
- in case it was not able to configure the component.
-
sendMessage
@Nonnull public SenderResult sendMessage(@Nonnull Message message, @Nonnull PipeLineSession session) throws SenderException, TimeoutException Deprecated.Description copied from interface:ISender
Send a message to some destination (as configured in the Sender object). This method may only be called after theconfigure()
method is called.The following table shows the difference between synchronous and a-synchronous senders:
synchronous a-synchronous ISender.isSynchronous()
returnstrue
false
return value of sendMessage()
isthe reply-message the messageId of the message sent the correlationID specified with sendMessage()
may be ignored is sent with the message a {link TimeOutException} may be thrown if a timeout occurs waiting for a reply should not be expected Multiple objects may try to call this method at the same time, from different threads. Implementations of this method should therefore be thread-safe, or
synchronized
.- Specified by:
sendMessage
in interfaceISender
- Overrides:
sendMessage
in classAbstractFileSystemSender<F,
FS extends IMailFileSystem<F, A>> - Throws:
SenderException
TimeoutException
-