Class ConnectionRouterManager
- java.lang.Object
-
- org.apache.activemq.artemis.core.server.routing.ConnectionRouterManager
-
- All Implemented Interfaces:
ActiveMQComponent
public final class ConnectionRouterManager extends Object implements ActiveMQComponent
-
-
Field Summary
Fields Modifier and Type Field Description static StringCACHE_ID_PREFIX
-
Constructor Summary
Constructors Constructor Description ConnectionRouterManager(Configuration config, ActiveMQServer server, ScheduledExecutorService scheduledExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy()voiddeployConnectionRouter(ConnectionRouterConfiguration config)ConnectionRoutergetRouter(String name)booleanisStarted()voidstart()voidstop()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.artemis.core.server.ActiveMQComponent
asyncStop
-
-
-
-
Field Detail
-
CACHE_ID_PREFIX
public static final String CACHE_ID_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConnectionRouterManager
public ConnectionRouterManager(Configuration config, ActiveMQServer server, ScheduledExecutorService scheduledExecutor)
-
-
Method Detail
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceActiveMQComponent
-
deployConnectionRouter
public void deployConnectionRouter(ConnectionRouterConfiguration config) throws Exception
- Throws:
Exception
-
getRouter
public ConnectionRouter getRouter(String name)
-
start
public void start() throws Exception- Specified by:
startin interfaceActiveMQComponent- Throws:
Exception
-
stop
public void stop() throws Exception- Specified by:
stopin interfaceActiveMQComponent- Throws:
Exception
-
-