Class FileSystemSenderWithAttachments<F,A,FS extends IMailFileSystem<F,A>>

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 Details Link icon

  • Constructor Details Link icon

    • FileSystemSenderWithAttachments Link icon

      public FileSystemSenderWithAttachments()
      Deprecated.
  • Method Details Link icon

    • configure Link icon

      public void configure() throws ConfigurationException
      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 this IConfigurable. 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 the configure(), to improve performance.

      In the case of a container, this will propagate the configure signal to all components that apply.

      Specified by:
      configure in interface IConfigurable
      Overrides:
      configure in class AbstractFileSystemSender<F,FS extends IMailFileSystem<F,A>>
      Throws:
      ConfigurationException - in case it was not able to configure the component.
    • sendMessage Link icon

      @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 the configure() method is called.

      The following table shows the difference between synchronous and a-synchronous senders:

       synchronousa-synchronous
      ISender.isSynchronous() returnstruefalse
      return value of sendMessage() isthe reply-messagethe messageId of the message sent
      the correlationID specified with sendMessage()may be ignoredis sent with the message
      a {link TimeOutException}may be thrown if a timeout occurs waiting for a replyshould 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 interface ISender
      Overrides:
      sendMessage in class AbstractFileSystemSender<F,FS extends IMailFileSystem<F,A>>
      Throws:
      SenderException
      TimeoutException