Package interlok.rabbitmq
Class ExceptionHandlerImpl
java.lang.Object
com.adaptris.core.ConnectionErrorHandlerImp
interlok.rabbitmq.ExceptionHandlerImpl
- All Implemented Interfaces:
com.adaptris.core.ComponentLifecycle,com.adaptris.core.ConnectionErrorHandler,com.rabbitmq.client.ExceptionHandler
- Direct Known Subclasses:
AlwaysRestartExceptionHandler
public abstract class ExceptionHandlerImpl
extends com.adaptris.core.ConnectionErrorHandlerImp
implements com.rabbitmq.client.ExceptionHandler
Abstract implementation of
ExceptionHandler for RabbitMQ.-
Field Summary
Fields inherited from class com.adaptris.core.ConnectionErrorHandlerImp
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidregisterConnection(com.adaptris.core.AdaptrisConnection connection) Methods inherited from class com.adaptris.core.ConnectionErrorHandlerImp
allowedInConjunctionWith, filter, getRegisteredChannels, restartAffectedComponents, retrieveConnection, retryWaitTimeMsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.adaptris.core.ComponentLifecycle
close, init, start, stopMethods inherited from interface com.adaptris.core.ConnectionErrorHandler
canHandleExceptionMethods inherited from interface com.rabbitmq.client.ExceptionHandler
handleBlockedListenerException, handleChannelRecoveryException, handleConfirmListenerException, handleConnectionRecoveryException, handleConsumerException, handleReturnListenerException, handleTopologyRecoveryException, handleUnexpectedConnectionDriverException
-
Constructor Details
-
ExceptionHandlerImpl
public ExceptionHandlerImpl()
-
-
Method Details
-
registerConnection
public void registerConnection(com.adaptris.core.AdaptrisConnection connection) - Specified by:
registerConnectionin interfacecom.adaptris.core.ConnectionErrorHandler- Overrides:
registerConnectionin classcom.adaptris.core.ConnectionErrorHandlerImp
-
handleConnectionException
public void handleConnectionException()- Specified by:
handleConnectionExceptionin interfacecom.adaptris.core.ConnectionErrorHandler
-