Class ActiveMQRoutingHandler
- java.lang.Object
-
- org.apache.activemq.artemis.core.server.routing.RoutingHandler<ActiveMQRoutingContext>
-
- org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQRoutingHandler
-
public class ActiveMQRoutingHandler extends RoutingHandler<ActiveMQRoutingContext>
-
-
Constructor Summary
Constructors Constructor Description ActiveMQRoutingHandler(ActiveMQServer server)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidredirect(ActiveMQRoutingContext context)voidrefuse(ActiveMQRoutingContext context)booleanroute(CoreRemotingConnection connection, CreateSessionMessage message)-
Methods inherited from class org.apache.activemq.artemis.core.server.routing.RoutingHandler
getServer, route
-
-
-
-
Constructor Detail
-
ActiveMQRoutingHandler
public ActiveMQRoutingHandler(ActiveMQServer server)
-
-
Method Detail
-
route
public boolean route(CoreRemotingConnection connection, CreateSessionMessage message) throws Exception
- Throws:
Exception
-
refuse
public void refuse(ActiveMQRoutingContext context) throws Exception
- Specified by:
refusein classRoutingHandler<ActiveMQRoutingContext>- Throws:
Exception
-
redirect
public void redirect(ActiveMQRoutingContext context) throws Exception
- Specified by:
redirectin classRoutingHandler<ActiveMQRoutingContext>- Throws:
Exception
-
-