Class ConnectionErrorHandlerImp

    • Field Detail

      • log

        protected transient org.slf4j.Logger log
    • Constructor Detail

      • ConnectionErrorHandlerImp

        public ConnectionErrorHandlerImp()
    • Method Detail

      • retrieveConnection

        public <T> T retrieveConnection​(java.lang.Class<T> type)
        Description copied from interface: ConnectionErrorHandler
        Return this components underlying connection.
        Specified by:
        retrieveConnection in interface ConnectionErrorHandler
        Parameters:
        type - the type of connection
        Returns:
        the connection
      • retryWaitTimeMs

        protected long retryWaitTimeMs()
        Milliseconds to wait for before retrying a restart.
      • restartAffectedComponents

        protected void restartAffectedComponents()
        Standard functionality to restart the owner of the connection.
      • getRegisteredChannels

        protected java.util.List<Channel> getRegisteredChannels()