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 AbstractSenderWithParameters
parameterNamesMustBeUnique, paramListFields inherited from class AbstractSender
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Configure this component.@NonNull SenderResultsendMessage(@NonNull Message message, @NonNull PipeLineSession session) Deprecated.Send a message to some destination (as configured in the Sender object).Methods inherited from class AbstractFileSystemSender
addActions, getAction, getFileSystem, getPhysicalDestinationName, setAction, setCharset, setCreateFolder, setDeleteEmptyFolder, setDestination, setExcludeWildcard, setFilename, setFileSystem, setInputFolder, setNumberOfBackups, setOutputFormat, setOverwrite, setRemoveNonEmptyFolder, setRotateDays, setRotateSize, setTypeFilter, setWildcard, setWriteLineSeparator, start, stopMethods inherited from class AbstractSenderWithParameters
addParameter, checkStringAttributeOrParameter, consumesSessionVariable, getParameterList, getParameterOverriddenAttributeValue, getParameterOverriddenAttributeValue, getParameterValueListMethods inherited from class AbstractSender
createBean, getLogPrefix, getName, isRunning, setApplicationContext, setNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContextMethods inherited from interface FrankElement
addConfigWarningMethods inherited from interface HasApplicationContext
getApplicationContext, getConfigurationClassLoaderMethods inherited from interface ISender
isSynchronous, sendMessageOrThrow
-
Field Details
-
ACTIONS_FS_WITH_ATTACHMENTS
Deprecated.
-
-
Constructor Details
-
FileSystemSenderWithAttachments
public FileSystemSenderWithAttachments()Deprecated.
-
-
Method Details
-
configure
Deprecated.Description copied from interface:IConfigurableConfigure 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:
configurein interfaceIConfigurable- Overrides:
configurein classAbstractFileSystemSender<F, FS extends IMailFileSystem<F,A>> - Throws:
ConfigurationException- in case it was not able to configure the component.
-
sendMessage
public @NonNull SenderResult sendMessage(@NonNull Message message, @NonNull PipeLineSession session) throws SenderException, TimeoutException Deprecated.Description copied from interface:ISenderSend 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()returnstruefalsereturn 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:
sendMessagein interfaceISender- Overrides:
sendMessagein classAbstractFileSystemSender<F, FS extends IMailFileSystem<F,A>> - Throws:
SenderExceptionTimeoutException
-