Package com.mockobjects.jms
Class MockQueueConnection
java.lang.Object
com.mockobjects.MockObject
com.mockobjects.jms.MockConnection
com.mockobjects.jms.MockQueueConnection
- All Implemented Interfaces:
Verifiable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConnectionConsumer
createConnectionConsumer
(Queue queue, String messageSelector, ServerSessionPool sessionPool, int mexMessages) QueueSession
createQueueSession
(boolean transacted, int acknowledgeMode) void
setupQueueSession
(QueueSession queueSession) Methods inherited from class com.mockobjects.jms.MockConnection
close, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, setExpectedCloseCalls, setExpectedStartCalls, setExpectedStopCalls, setupThrowException, start, stop
Methods inherited from class com.mockobjects.MockObject
notImplemented, notYetImplemented, verify
-
Constructor Details
-
MockQueueConnection
public MockQueueConnection()
-
-
Method Details
-
createConnectionConsumer
public ConnectionConsumer createConnectionConsumer(Queue queue, String messageSelector, ServerSessionPool sessionPool, int mexMessages) throws JMSException - Throws:
JMSException
-
createQueueSession
public QueueSession createQueueSession(boolean transacted, int acknowledgeMode) throws JMSException - Throws:
JMSException
-
setupQueueSession
public void setupQueueSession(QueueSession queueSession)
-