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

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
  • Constructor Details

    • ReconnectSenderWrapper

      public ReconnectSenderWrapper()
  • Method Details