Class MockTopicConnection

All Implemented Interfaces:
Verifiable

public class MockTopicConnection extends MockConnection
  • Constructor Details

    • MockTopicConnection

      public MockTopicConnection()
  • Method Details

    • setupCreateTopicSession

      public void setupCreateTopicSession(TopicSession topicSessionToReturn)
    • createConnectionConsumer

      public ConnectionConsumer createConnectionConsumer(Topic topic, String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException
      Throws:
      JMSException
    • createDurableConnectionConsumer

      public ConnectionConsumer createDurableConnectionConsumer(Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException
      Throws:
      JMSException
    • createTopicSession

      public TopicSession createTopicSession(boolean transacted, int acknowledgeMode) throws JMSException
      Throws:
      JMSException