Class MQTTFailureListener

  • All Implemented Interfaces:
    org.apache.activemq.artemis.core.remoting.FailureListener

    public class MQTTFailureListener
    extends java.lang.Object
    implements org.apache.activemq.artemis.core.remoting.FailureListener
    Registered with the server and called during connection failure. This class informs the ConnectionManager when a connection failure has occurred, which subsequently cleans up any connection data.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void connectionFailed​(org.apache.activemq.artemis.api.core.ActiveMQException exception, boolean failedOver)  
      void connectionFailed​(org.apache.activemq.artemis.api.core.ActiveMQException exception, boolean failedOver, java.lang.String scaleDownTargetNodeID)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • connectionFailed

        public void connectionFailed​(org.apache.activemq.artemis.api.core.ActiveMQException exception,
                                     boolean failedOver)
        Specified by:
        connectionFailed in interface org.apache.activemq.artemis.core.remoting.FailureListener
      • connectionFailed

        public void connectionFailed​(org.apache.activemq.artemis.api.core.ActiveMQException exception,
                                     boolean failedOver,
                                     java.lang.String scaleDownTargetNodeID)
        Specified by:
        connectionFailed in interface org.apache.activemq.artemis.core.remoting.FailureListener