Class ReconnectSenderWrapper

All Implemented Interfaces:
ICacheEnabled<String,String>, AdapterAware, IConfigurable, IConfigurationAware, INamedObject, IScopeProvider, ISender, ISenderWithParameters, IWithParameters, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class ReconnectSenderWrapper extends SenderWrapperBase
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