Package com.swiftmq.impl.topic.standard
Class TopicManagerImpl
java.lang.Object
TopicManager
com.swiftmq.impl.topic.standard.TopicManagerImpl
public class TopicManagerImpl
extends TopicManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStaticSubscription(String routerName, String topicName, boolean keepOnUnsubscribe) protected static StringconcatName(String[] tokenizedName) AbstractQueuecreateQueue(String queueName, Entity queueEntity) voidcreateTopic(String topicName) voiddeleteDurable(String durableName, ActiveLogin activeLogin) voiddeleteTopic(String topicName) getDurableTopicName(String durableName, ActiveLogin activeLogin) protected StringString[]protected StringbooleanbooleanisTopicDefined(String topicName) voidprocessTopicInfo(TopicInfo topicInfo) booleanvoidremoveRemoteSubscriptions(String routerName) protected voidshutdown()protected voidstartup(Configuration config) intsubscribe(TopicImpl topic, Selector selector, boolean noLocal, String queueName, ActiveLogin activeLogin) intsubscribe(TopicImpl topic, Selector selector, boolean noLocal, String queueName, ActiveLogin activeLogin, boolean forceCopy) subscribeDurable(String durableName, TopicImpl topic, Selector selector, boolean noLocal, ActiveLogin activeLogin) subscribeDurable(String durableName, TopicImpl topic, Selector selector, boolean noLocal, ActiveLogin activeLogin, Entity newEntity) voidunsubscribe(int subscriberId) TopicImplverifyTopic(TopicImpl topic)
-
Field Details
-
TOPIC_PREFIX
- See Also:
-
TOPIC_DELIMITER
- See Also:
-
TOPIC_DELIMITER_CHAR
public static final char TOPIC_DELIMITER_CHAR- See Also:
-
DURABLE_DELIMITER
- See Also:
-
DURABLE_TYPE
- See Also:
-
TOPIC_QUEUE
- See Also:
-
-
Constructor Details
-
TopicManagerImpl
public TopicManagerImpl()
-
-
Method Details
-
getTopicQueuePrefix
-
getTopicDelimiter
-
isDirectSubscriberSelection
public boolean isDirectSubscriberSelection() -
registerUsage
public boolean registerUsage() -
createQueue
- Throws:
QueueException
-
createTopic
- Throws:
TopicException
-
deleteTopic
- Throws:
TopicException
-
isTopicDefined
-
verifyTopic
public TopicImpl verifyTopic(TopicImpl topic) throws JMSException, InvalidDestinationException - Throws:
JMSExceptionInvalidDestinationException
-
concatName
-
subscribe
public int subscribe(TopicImpl topic, Selector selector, boolean noLocal, String queueName, ActiveLogin activeLogin) throws AuthenticationException - Throws:
AuthenticationException
-
subscribe
public int subscribe(TopicImpl topic, Selector selector, boolean noLocal, String queueName, ActiveLogin activeLogin, boolean forceCopy) throws AuthenticationException - Throws:
AuthenticationException
-
subscribeDurable
public String subscribeDurable(String durableName, TopicImpl topic, Selector selector, boolean noLocal, ActiveLogin activeLogin) throws AuthenticationException, QueueException, TopicException - Throws:
AuthenticationExceptionQueueExceptionTopicException
-
subscribeDurable
public String subscribeDurable(String durableName, TopicImpl topic, Selector selector, boolean noLocal, ActiveLogin activeLogin, Entity newEntity) throws AuthenticationException, QueueException, TopicException - Throws:
AuthenticationExceptionQueueExceptionTopicException
-
deleteDurable
public void deleteDurable(String durableName, ActiveLogin activeLogin) throws InvalidDestinationException, QueueException, UnknownQueueException, TopicException - Throws:
InvalidDestinationExceptionQueueExceptionUnknownQueueExceptionTopicException
-
getDurableTopicName
-
unsubscribe
public void unsubscribe(int subscriberId) -
getTopicNames
-
removeRemoteSubscriptions
-
processTopicInfo
- Throws:
Exception
-
addStaticSubscription
public void addStaticSubscription(String routerName, String topicName, boolean keepOnUnsubscribe) throws Exception - Throws:
Exception
-
startup
protected void startup(Configuration config) throws SwiftletException - Throws:
SwiftletException
-
shutdown
protected void shutdown() throws SwiftletException- Throws:
SwiftletException
-