Class TopicManagerImpl

java.lang.Object
TopicManager
com.swiftmq.impl.topic.standard.TopicManagerImpl

public class TopicManagerImpl extends TopicManager
  • Field Details

  • Constructor Details

    • TopicManagerImpl

      public TopicManagerImpl()
  • Method Details

    • getTopicQueuePrefix

      protected String getTopicQueuePrefix()
    • getTopicDelimiter

      protected String getTopicDelimiter()
    • isDirectSubscriberSelection

      public boolean isDirectSubscriberSelection()
    • registerUsage

      public boolean registerUsage()
    • createQueue

      public AbstractQueue createQueue(String queueName, Entity queueEntity) throws QueueException
      Throws:
      QueueException
    • createTopic

      public void createTopic(String topicName) throws TopicException
      Throws:
      TopicException
    • deleteTopic

      public void deleteTopic(String topicName) throws TopicException
      Throws:
      TopicException
    • isTopicDefined

      public boolean isTopicDefined(String topicName)
    • verifyTopic

      public TopicImpl verifyTopic(TopicImpl topic) throws JMSException, InvalidDestinationException
      Throws:
      JMSException
      InvalidDestinationException
    • concatName

      protected static String concatName(String[] tokenizedName)
    • 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:
      AuthenticationException
      QueueException
      TopicException
    • subscribeDurable

      public String subscribeDurable(String durableName, TopicImpl topic, Selector selector, boolean noLocal, ActiveLogin activeLogin, Entity newEntity) throws AuthenticationException, QueueException, TopicException
      Throws:
      AuthenticationException
      QueueException
      TopicException
    • deleteDurable

      public void deleteDurable(String durableName, ActiveLogin activeLogin) throws InvalidDestinationException, QueueException, UnknownQueueException, TopicException
      Throws:
      InvalidDestinationException
      QueueException
      UnknownQueueException
      TopicException
    • getDurableTopicName

      public String getDurableTopicName(String durableName, ActiveLogin activeLogin)
    • unsubscribe

      public void unsubscribe(int subscriberId)
    • getTopicNames

      public String[] getTopicNames()
    • removeRemoteSubscriptions

      public void removeRemoteSubscriptions(String routerName)
    • processTopicInfo

      public void processTopicInfo(TopicInfo topicInfo) throws Exception
      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