Class MQTTRoutingHandler


  • public class MQTTRoutingHandler
    extends org.apache.activemq.artemis.core.server.routing.RoutingHandler<MQTTRoutingContext>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected MQTTRoutingHandler​(org.apache.activemq.artemis.core.server.ActiveMQServer server)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void redirect​(MQTTRoutingContext context)  
      protected void refuse​(MQTTRoutingContext context)  
      boolean route​(MQTTConnection mqttConnection, MQTTSession mqttSession, io.netty.handler.codec.mqtt.MqttConnectMessage connect)  
      • Methods inherited from class org.apache.activemq.artemis.core.server.routing.RoutingHandler

        getServer, route
      • Methods inherited from class java.lang.Object

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

      • MQTTRoutingHandler

        protected MQTTRoutingHandler​(org.apache.activemq.artemis.core.server.ActiveMQServer server)
    • Method Detail

      • route

        public boolean route​(MQTTConnection mqttConnection,
                             MQTTSession mqttSession,
                             io.netty.handler.codec.mqtt.MqttConnectMessage connect)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • redirect

        protected void redirect​(MQTTRoutingContext context)
        Specified by:
        redirect in class org.apache.activemq.artemis.core.server.routing.RoutingHandler<MQTTRoutingContext>