Class MQTTFailureListener

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

    public class MQTTFailureListener
    extends 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 Detail

      • connectionFailed

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

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