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 RoutingHandler<MQTTRoutingContext>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMQTTRoutingHandler(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)-
Methods inherited from class org.apache.activemq.artemis.core.server.routing.RoutingHandler
getServer, route
-
-
-
-
Constructor Detail
-
MQTTRoutingHandler
protected MQTTRoutingHandler(ActiveMQServer server)
-
-
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 classRoutingHandler<MQTTRoutingContext>
-
redirect
protected void redirect(MQTTRoutingContext context)
- Specified by:
redirectin classRoutingHandler<MQTTRoutingContext>
-
-