Package interlok.rabbitmq
Class ExceptionHandlerImpl
- java.lang.Object
-
- com.adaptris.core.ConnectionErrorHandlerImp
-
- interlok.rabbitmq.ExceptionHandlerImpl
-
- All Implemented Interfaces:
ComponentLifecycle,ConnectionErrorHandler,com.rabbitmq.client.ExceptionHandler
- Direct Known Subclasses:
AlwaysRestartExceptionHandler
public abstract class ExceptionHandlerImpl extends ConnectionErrorHandlerImp implements com.rabbitmq.client.ExceptionHandler
Abstract implementation ofExceptionHandlerfor RabbitMQ.
-
-
Field Summary
-
Fields inherited from class com.adaptris.core.ConnectionErrorHandlerImp
log
-
-
Constructor Summary
Constructors Constructor Description ExceptionHandlerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleConnectionException()voidregisterConnection(AdaptrisConnection connection)-
Methods inherited from class com.adaptris.core.ConnectionErrorHandlerImp
allowedInConjunctionWith, getRegisteredChannels, restartAffectedComponents, retrieveConnection, retryWaitTimeMs
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adaptris.core.ComponentLifecycle
close, init, start, stop
-
Methods inherited from interface com.rabbitmq.client.ExceptionHandler
handleBlockedListenerException, handleChannelRecoveryException, handleConfirmListenerException, handleConnectionRecoveryException, handleConsumerException, handleReturnListenerException, handleTopologyRecoveryException, handleUnexpectedConnectionDriverException
-
-
-
-
Method Detail
-
registerConnection
public void registerConnection(AdaptrisConnection connection)
- Specified by:
registerConnectionin interfaceConnectionErrorHandler- Overrides:
registerConnectionin classConnectionErrorHandlerImp
-
handleConnectionException
public void handleConnectionException()
- Specified by:
handleConnectionExceptionin interfaceConnectionErrorHandler
-
-