Class ConnectionRouter
- java.lang.Object
-
- org.apache.activemq.artemis.core.server.routing.ConnectionRouter
-
- All Implemented Interfaces:
ActiveMQComponent
public class ConnectionRouter extends Object implements ActiveMQComponent
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLIENT_ID_PREFIX
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CachegetCache()KeyTypegetKey()KeyResolvergetKeyResolver()TargetgetLocalTarget()StringgetLocalTargetFilter()StringgetName()PolicygetPolicy()PoolgetPool()TargetResultgetTarget(String key)TargetResultgetTarget(Connection connection, String clientID, String username)booleanisStarted()voidsetLocalTargetFilter(String regExp)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
-
CLIENT_ID_PREFIX
public static final String CLIENT_ID_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
-
getKey
public KeyType getKey()
-
getKeyResolver
public KeyResolver getKeyResolver()
-
getLocalTarget
public Target getLocalTarget()
-
getLocalTargetFilter
public String getLocalTargetFilter()
-
setLocalTargetFilter
public void setLocalTargetFilter(String regExp)
-
getPool
public Pool getPool()
-
getPolicy
public Policy getPolicy()
-
getCache
public Cache getCache()
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceActiveMQComponent
-
start
public void start() throws Exception- Specified by:
startin interfaceActiveMQComponent- Throws:
Exception
-
stop
public void stop() throws Exception- Specified by:
stopin interfaceActiveMQComponent- Throws:
Exception
-
getTarget
public TargetResult getTarget(Connection connection, String clientID, String username)
-
getTarget
public TargetResult getTarget(String key)
-
-