Class ReconnectSenderWrapper

All Implemented Interfaces:
ICacheEnabled<String,String>, FrankElement, HasApplicationContext, HasName, IConfigurable, IScopeProvider, ISender, ISenderWithParameters, IWithParameters, NameAware, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle

@FrankDocGroup(WRAPPER) public class ReconnectSenderWrapper extends AbstractSenderWrapper
Wrapper for senders, that opens the wrapped sender at runtime before each sender action, and closes it afterwards. This prevents (long) open connections inside Senders and possible connection failures.

Example:

<SenderPipe>
    <ReconnectSenderWrapper>
        <EchoSender myAttribute="myValue" />
    </ReconnectSenderWrapper>
</SenderPipe>

Author:
Niels Meijer
Parameters
any parameters defined on the ReconnectSenderWrapper will be handed to the sender, if this is a ISenderWithParameters. This includes parameters copied from the SenderPipe to the ReconnectSenderWrapper.
  • Constructor Details

    • ReconnectSenderWrapper

      public ReconnectSenderWrapper()
  • Method Details