Method Summary |
|
public void | closeAll() Closes all senders, receivers, browsers, publishers and subscribers. |
public void | closeAllTopicDurableSubscribers() Closes all durable topic subscribers. |
public void | closeAllTopicPublishers() Closes all topic publishers. |
public void | closeAllTopicSubscribers() Closes all topic subscribers. |
public MockTopicSubscriber | createDurableTopicSubscriber(MockTopic topic, String name, String messageSelector, boolean noLocal) Creates a new durable TopicSubscriber for the specified
Topic . |
public MockTopicPublisher | createTopicPublisher(MockTopic topic) Creates a new TopicPublisher for the specified
Topic . |
public MockTopicSubscriber | createTopicSubscriber(MockTopic topic, String messageSelector, boolean noLocal) Creates a new TopicSubscriber for the specified
Topic . |
public MockTopicSubscriber | getDurableTopicSubscriber(String name) Returns a durable TopicSubscriber by its name or
null , if no such durable TopicSubscriber is
present. |
public Map | getDurableTopicSubscriberMap(String topicName) Returns the map of all durable TopicSubscriber objects
for a specific Topic . |
public Map | getDurableTopicSubscriberMap() Returns the map of all durable TopicSubscriber objects. |
public MockTopicPublisher | getTopicPublisher(int index) Returns a TopicPublisher by its index or
null , if no such TopicPublisher is
present. |
public MockTopicPublisher | getTopicPublisher(String topicName) Returns a TopicPublisher by the name of its
corresponding Topic . |
public List | getTopicPublisherList(String topicName) Returns the list of the TopicPublisher objects
for a specific Topic . |
public List | getTopicPublisherList() Returns the list of all TopicPublisher objects. |
public MockTopicSubscriber | getTopicSubscriber(int index) Returns a TopicSubscriber by its index or
null , if no such TopicSubscriber is
present. |
public MockTopicSubscriber | getTopicSubscriber(String topicName) Returns a TopicSubscriber by the name of its
corresponding Topic . |
public List | getTopicSubscriberList(String topicName) Returns the list of the TopicSubscriber objects
for a specific Topic . |
public List | getTopicSubscriberList() Returns the list of all TopicSubscriber objects. |
public void | removeTopicDurableSubscriber(String name) Deletes a durable TopicSubscriber . |