com.mockobjects.jms
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, stop
notImplemented, notYetImplemented, verify
public void setupCreateTopicSession(TopicSession topicSessionToReturn)
public ConnectionConsumer createConnectionConsumer(Topic topic, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException
JMSException
public ConnectionConsumer createDurableConnectionConsumer(Topic topic, java.lang.String subscriptionName, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException
JMSException
public TopicSession createTopicSession(boolean transacted, int acknowledgeMode) throws JMSException
JMSException
Copyright © 2002 Mock Objects. All Rights Reserved.