public class MockTopicConnection extends MockConnection
| Constructor and Description |
|---|
MockTopicConnection() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionConsumer |
createConnectionConsumer(Topic topic,
java.lang.String messageSelector,
ServerSessionPool sessionPool,
int maxMessages) |
ConnectionConsumer |
createDurableConnectionConsumer(Topic topic,
java.lang.String subscriptionName,
java.lang.String messageSelector,
ServerSessionPool sessionPool,
int maxMessages) |
TopicSession |
createTopicSession(boolean transacted,
int acknowledgeMode) |
void |
setupCreateTopicSession(TopicSession topicSessionToReturn) |
close, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, setExpectedCloseCalls, setExpectedStartCalls, setExpectedStopCalls, setupThrowException, start, stopnotImplemented, notYetImplemented, verifypublic void setupCreateTopicSession(TopicSession topicSessionToReturn)
public ConnectionConsumer createConnectionConsumer(Topic topic,
java.lang.String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
throws JMSException
JMSExceptionpublic ConnectionConsumer createDurableConnectionConsumer(Topic topic,
java.lang.String subscriptionName,
java.lang.String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
throws JMSException
JMSExceptionpublic TopicSession createTopicSession(boolean transacted,
int acknowledgeMode)
throws JMSException
JMSExceptionCopyright © 2002 Mock Objects. All Rights Reserved.