Class OpenWireRoutingHandler
- java.lang.Object
-
- org.apache.activemq.artemis.core.server.routing.RoutingHandler<OpenWireRoutingContext>
-
- org.apache.activemq.artemis.core.protocol.openwire.OpenWireRoutingHandler
-
public class OpenWireRoutingHandler extends org.apache.activemq.artemis.core.server.routing.RoutingHandler<OpenWireRoutingContext>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOpenWireRoutingHandler(org.apache.activemq.artemis.core.server.ActiveMQServer server, OpenWireProtocolManager protocolManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidredirect(OpenWireRoutingContext context)protected voidrefuse(OpenWireRoutingContext context)booleanroute(OpenWireConnection openWireConnection, org.apache.activemq.command.ConnectionInfo connectionInfo)
-
-
-
Constructor Detail
-
OpenWireRoutingHandler
protected OpenWireRoutingHandler(org.apache.activemq.artemis.core.server.ActiveMQServer server, OpenWireProtocolManager protocolManager)
-
-
Method Detail
-
route
public boolean route(OpenWireConnection openWireConnection, org.apache.activemq.command.ConnectionInfo connectionInfo) throws java.lang.Exception
- Throws:
java.lang.Exception
-
refuse
protected void refuse(OpenWireRoutingContext context) throws java.lang.Exception
- Specified by:
refusein classorg.apache.activemq.artemis.core.server.routing.RoutingHandler<OpenWireRoutingContext>- Throws:
java.lang.Exception
-
redirect
protected void redirect(OpenWireRoutingContext context) throws java.lang.Exception
- Specified by:
redirectin classorg.apache.activemq.artemis.core.server.routing.RoutingHandler<OpenWireRoutingContext>- Throws:
java.lang.Exception
-
-