Package com.adaptris.xa.jms.exception
Class WaitContinueExceptionHandler
- java.lang.Object
-
- com.adaptris.xa.jms.exception.WaitContinueExceptionHandler
-
- All Implemented Interfaces:
XAExceptionHandler
@ComponentProfile(summary="Wait for a period of time before attempting to continue.", tag="jms,xa") public class WaitContinueExceptionHandler extends java.lang.Object implements XAExceptionHandlerIn the adapter configuration file this class is aliased as xa-wait-exception-handler which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description WaitContinueExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeIntervalgetWaitPeriod()voidhandleException(java.lang.Exception ex)voidsetWaitPeriod(TimeInterval waitPeriod)
-
-
-
Method Detail
-
handleException
public void handleException(java.lang.Exception ex)
- Specified by:
handleExceptionin interfaceXAExceptionHandler
-
getWaitPeriod
public TimeInterval getWaitPeriod()
-
setWaitPeriod
public void setWaitPeriod(TimeInterval waitPeriod)
-
-