Class MQTTRoutingHandler
- java.lang.Object
-
- org.apache.activemq.artemis.core.server.routing.RoutingHandler<MQTTRoutingContext>
-
- org.apache.activemq.artemis.core.protocol.mqtt.MQTTRoutingHandler
-
public class MQTTRoutingHandler extends org.apache.activemq.artemis.core.server.routing.RoutingHandler<MQTTRoutingContext>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMQTTRoutingHandler(org.apache.activemq.artemis.core.server.ActiveMQServer server)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidredirect(MQTTRoutingContext context)protected voidrefuse(MQTTRoutingContext context)booleanroute(MQTTConnection mqttConnection, MQTTSession mqttSession, io.netty.handler.codec.mqtt.MqttConnectMessage connect)
-
-
-
Method Detail
-
route
public boolean route(MQTTConnection mqttConnection, MQTTSession mqttSession, io.netty.handler.codec.mqtt.MqttConnectMessage connect) throws Exception
- Throws:
Exception
-
refuse
protected void refuse(MQTTRoutingContext context)
- Specified by:
refusein classorg.apache.activemq.artemis.core.server.routing.RoutingHandler<MQTTRoutingContext>
-
redirect
protected void redirect(MQTTRoutingContext context)
- Specified by:
redirectin classorg.apache.activemq.artemis.core.server.routing.RoutingHandler<MQTTRoutingContext>
-
-