| java.lang.Object com.mockrunner.jms.JMSTestModule
Method Summary | |
public ConfigurationManager | getConfigurationManager() Returns the
ConfigurationManager . | public MockConnection | getCurrentConnection() Returns the current
MockConnection based on its
index or null if no connection
was created. | public List | getCurrentMessageListFromQueue(String name) Returns the list of messages that are currently present in the queue
or null if no such queue exists. | public List | getCurrentMessageListFromTemporaryQueue(int indexOfSession, int indexOfQueue) Returns the list of messages that are currently present in the
temporary queue or null if no such queue exists. | public List | getCurrentMessageListFromTemporaryTopic(int indexOfSession, int indexOfTopic) Returns the list of messages that are currently present in the
temporary topic or null if no such topic exists. | public List | getCurrentMessageListFromTopic(String name) Returns the list of messages that are currently present in the topic
or null if no such topic exists. | public MockQueueConnection | getCurrentQueueConnection() Returns the current
MockQueueConnection based on its
index or null if no queue connection
was created. | public MockTopicConnection | getCurrentTopicConnection() Returns the current
MockTopicConnection based on its
index or null if no topic connection
was created. | public DestinationManager | getDestinationManager() Returns the
DestinationManager . | public MessageManager | getMessageManager(int indexOfSession) Returns the
MessageManager for the specified session
or null if the session does not exist. | public MockQueue | getQueue(String name) Returns the
MockQueue with the specified name
or null if no such queue exists. | public MessageManager | getQueueMessageManager(int indexOfSession) Returns the
MessageManager for the specified session
or null if the session does not exist. | public MockQueueSession | getQueueSession(int indexOfSession) Returns the
MockQueueSession for the specified index
or null if the session does not exist. | public List | getQueueSessionList() Returns the list of
MockQueueSession objects. | public QueueTransmissionManager | getQueueTransmissionManager(int indexOfSession) Returns the
QueueTransmissionManager for the specified session
or null if the session does not exist. | public TransmissionManagerWrapper | getQueueTransmissionManagerWrapper(int indexOfSession) Returns the
TransmissionManagerWrapper for the specified session
or null if the session does not exist. | public List | getReceivedMessageListFromQueue(String name) Returns the list of messages that were received by the queue
or null if no such queue exists. | public List | getReceivedMessageListFromTemporaryQueue(int indexOfSession, int indexOfQueue) Returns the list of messages that were received by the
temporary queue or null if no such queue exists. | public List | getReceivedMessageListFromTemporaryTopic(int indexOfSession, int indexOfTopic) Returns the list of messages that were received by the
temporary topic or null if no such topic exists. | public List | getReceivedMessageListFromTopic(String name) Returns the list of messages that were received by the topic
or null if no such topic exists. | public MockSession | getSession(int indexOfSession) Returns the
MockSession for the specified index
or null if the session does not exist. | public List | getSessionList() Returns the list of
MockSession objects. | public MockTemporaryQueue | getTemporaryQueue(int indexOfSession, int indexOfQueue) Returns the
MockTemporaryQueue with the specified index
for the specified session. | public List | getTemporaryQueueList(int indexOfSession) Returns the list of
MockTemporaryQueue objects
for the specified session. | public MockTemporaryTopic | getTemporaryTopic(int indexOfSession, int indexOfTopic) Returns the
MockTemporaryTopic with the specified index
for the specified session. | public List | getTemporaryTopicList(int indexOfSession) Returns the list of
MockTemporaryTopic objects
for the specified session. | public MockTopic | getTopic(String name) Returns the
MockTopic with the specified name
or null if no such topic exists. | public MessageManager | getTopicMessageManager(int indexOfSession) Returns the
MessageManager for the specified session
or null if the session does not exist. | public MockTopicSession | getTopicSession(int indexOfSession) Returns the
MockTopicSession for the specified index
or null if the session does not exist. | public List | getTopicSessionList() Returns the list of
MockTopicSession objects. | public TopicTransmissionManager | getTopicTransmissionManager(int indexOfSession) Returns the
TopicTransmissionManager for the specified session
or null if the session does not exist. | public TransmissionManagerWrapper | getTopicTransmissionManagerWrapper(int indexOfSession) Returns the
TransmissionManagerWrapper for the specified session
or null if the session does not exist. | public TransmissionManagerWrapper | getTransmissionManager(int indexOfSession) | public TransmissionManagerWrapper | getTransmissionManagerWrapper(int indexOfSession) Returns the
TransmissionManagerWrapper for the specified session
or null if the session does not exist. | public void | registerTestMessageListenerForQueue(String queueName, MessageListener listener) Creates a new connection and uses it for creating a new session and receiver.
Registers the specified listener. | public void | registerTestMessageListenerForQueue(MockConnection connection, String queueName, MessageListener listener) Creates a new session and receiver using the specified connection and
registers the specified listener. | public void | registerTestMessageListenerForQueue(MockConnection connection, String queueName, boolean transacted, int acknowledgeMode, MessageListener listener) Creates a new session and receiver using the specified connection and
registers the specified listener. | public void | registerTestMessageListenerForQueue(MockConnection connection, String queueName, boolean transacted, int acknowledgeMode, String messageSelector, MessageListener listener) Creates a new session and receiver using the specified connection and
registers the specified listener. | public void | registerTestMessageListenerForTopic(String topicName, MessageListener listener) Creates a new connection and uses it for creating a new session and subscriber.
Registers the specified listener. | public void | registerTestMessageListenerForTopic(MockConnection connection, String topicName, MessageListener listener) Creates a new session and subscriber using the specified connection and
registers the specified listener. | public void | registerTestMessageListenerForTopic(MockConnection connection, String topicName, boolean transacted, int acknowledgeMode, MessageListener listener) Creates a new session and subscriber using the specified connection and
registers the specified listener. | public void | registerTestMessageListenerForTopic(MockConnection connection, String topicName, boolean transacted, int acknowledgeMode, String messageSelector, MessageListener listener) Creates a new session and subscriber using the specified connection and
registers the specified listener. | public void | setCurrentConnectionIndex(int connectionIndex) Sets the index of the
MockConnection that should be used
for the current test. | public void | setCurrentQueueConnectionIndex(int connectionIndex) Sets the index of the
MockQueueConnection that should be used
for the current test. | public void | setCurrentTopicConnectionIndex(int connectionIndex) Sets the index of the
MockTopicConnection that should be used
for the current test. | public void | verifyAllDurableTopicSubscribersClosed(int indexOfSession) Verifies that all durable subscribers for the specified session are closed. | public void | verifyAllMessageConsumersClosed(int indexOfSession) Verifies that all consumers for the specified session are closed. | public void | verifyAllMessageProducersClosed(int indexOfSession) Verifies that all producers for the specified session are closed. | public void | verifyAllQueueBrowsersClosed(int indexOfSession) Verifies that all browsers for the specified session are closed. | public void | verifyAllQueueReceiversClosed(int indexOfSession) Verifies that all receivers for the specified session are closed. | public void | verifyAllQueueSendersClosed(int indexOfSession) Verifies that all senders for the specified session are closed. | public void | verifyAllQueueSessionsClosed() Verifies that all queue sessions are closed. | public void | verifyAllQueueSessionsCommitted() Verifies that all queue sessions were commited. | public void | verifyAllQueueSessionsRecovered() Verifies that all queue sessions are recovered. | public void | verifyAllQueueSessionsRolledBack() Verifies that all queue sessions were rolled back. | public void | verifyAllReceivedQueueMessagesAcknowledged(String nameOfQueue) Verifies that all received messages of the specified queue
are acknowledged. | public void | verifyAllReceivedQueueMessagesAcknowledged(int indexOfSession, int indexOfQueue) Verifies that all received messages of the specified temporary queue
are acknowledged. | public void | verifyAllReceivedTopicMessagesAcknowledged(String nameOfTopic) Verifies that all received messages of the specified topic
are acknowledged. | public void | verifyAllReceivedTopicMessagesAcknowledged(int indexOfSession, int indexOfTopic) Verifies that all received messages of the specified temporary topic
are acknowledged. | public void | verifyAllSessionsClosed() Verifies that all sessions are closed. | public void | verifyAllSessionsCommitted() Verifies that all sessions were commited. | public void | verifyAllSessionsRecovered() Verifies that all sessions are recovered. | public void | verifyAllSessionsRolledBack() Verifies that all topic sessions were rolled back. | public void | verifyAllTemporaryQueuesDeleted(int indexOfSession) Verifies that all temporary queues were deleted. | public void | verifyAllTemporaryTopicsDeleted(int indexOfSession) Verifies that all temporary topics were deleted. | public void | verifyAllTopicPublishersClosed(int indexOfSession) Verifies that all publishers for the specified session are closed. | public void | verifyAllTopicSessionsClosed() Verifies that all topic sessions are closed. | public void | verifyAllTopicSessionsCommitted() Verifies that all topic sessions were commited. | public void | verifyAllTopicSessionsRecovered() Verifies that all topic sessions are recovered. | public void | verifyAllTopicSessionsRolledBack() Verifies that all topic sessions were rolled back. | public void | verifyAllTopicSubscribersClosed(int indexOfSession) Verifies that all subscribers for the specified session are closed. | public void | verifyConnectionClosed() Verifies that the current
MockConnection is closed. | public void | verifyConnectionStarted() Verifies that the current
MockConnection is started. | public void | verifyConnectionStopped() Verifies that the current
MockConnection is stopped. | public void | verifyCreatedBytesMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a bytes message created with
MockSession.createMessage
is acknowledged. | public void | verifyCreatedBytesMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a bytes message created with
MockSession.createMessage
is not acknowledged. | public void | verifyCreatedMapMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a map message created with
MockSession.createMessage
is acknowledged. | public void | verifyCreatedMapMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a map message created with
MockSession.createMessage
is not acknowledged. | public void | verifyCreatedMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a message created with
MockSession.createMessage
is acknowledged. | public void | verifyCreatedMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a message created with
MockSession.createMessage
is not acknowledged. | public void | verifyCreatedObjectMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a object message created with
MockSession.createMessage
is acknowledged. | public void | verifyCreatedObjectMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a object message created with
MockSession.createMessage
is not acknowledged. | public void | verifyCreatedQueueBytesMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a bytes message created with
MockQueueSession.createMessage
is acknowledged.
This method makes sense if messages are not cloned
when sending them. | public void | verifyCreatedQueueBytesMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a bytes message created with
MockQueueSession.createMessage
is not acknowledged.
This method makes sense if messages are not cloned
when sending them. | public void | verifyCreatedQueueMapMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a map message created with
MockQueueSession.createMessage
is acknowledged.
This method makes sense if messages are not cloned
when sending them. | public void | verifyCreatedQueueMapMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a map message created with
MockQueueSession.createMessage
is not acknowledged.
This method makes sense if messages are not cloned
when sending them. | public void | verifyCreatedQueueMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a message created with
MockQueueSession.createMessage
is acknowledged.
This method makes sense if messages are not cloned
when sending them. | public void | verifyCreatedQueueMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a message created with
MockQueueSession.createMessage
is not acknowledged.
This method makes sense if messages are not cloned
when sending them. | public void | verifyCreatedQueueObjectMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a object message created with
MockQueueSession.createMessage
is acknowledged.
This method makes sense if messages are not cloned
when sending them. | public void | verifyCreatedQueueObjectMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a object message created with
MockQueueSession.createMessage
is not acknowledged.
This method makes sense if messages are not cloned
when sending them. | public void | verifyCreatedQueueStreamMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a stream message created with
MockQueueSession.createMessage
is acknowledged.
This method makes sense if messages are not cloned
when sending them. | public void | verifyCreatedQueueStreamMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a stream message created with
MockQueueSession.createMessage
is not acknowledged.
This method makes sense if messages are not cloned
when sending them. | public void | verifyCreatedQueueTextMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a text message created with
MockQueueSession.createMessage
is acknowledged.
This method makes sense if messages are not cloned
when sending them. | public void | verifyCreatedQueueTextMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a text message created with
MockQueueSession.createMessage
is not acknowledged.
This method makes sense if messages are not cloned
when sending them. | public void | verifyCreatedStreamMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a stream message created with
MockSession.createMessage
is acknowledged. | public void | verifyCreatedStreamMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a stream message created with
MockSession.createMessage
is not acknowledged. | public void | verifyCreatedTextMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a text message created with
MockSession.createMessage
is acknowledged. | public void | verifyCreatedTextMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a text message created with
MockSession.createMessage
is not acknowledged. | public void | verifyCreatedTopicBytesMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a bytes message created with
MockTopicSession.createMessage
is acknowledged. | public void | verifyCreatedTopicBytesMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a bytes message created with
MockTopicSession.createMessage
is not acknowledged. | public void | verifyCreatedTopicMapMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a map message created with
MockTopicSession.createMessage
is acknowledged. | public void | verifyCreatedTopicMapMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a map message created with
MockTopicSession.createMessage
is not acknowledged. | public void | verifyCreatedTopicMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a message created with
MockTopicSession.createMessage
is acknowledged. | public void | verifyCreatedTopicMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a message created with
MockTopicSession.createMessage
is not acknowledged. | public void | verifyCreatedTopicObjectMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a object message created with
MockTopicSession.createMessage
is acknowledged. | public void | verifyCreatedTopicObjectMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a object message created with
MockTopicSession.createMessage
is not acknowledged. | public void | verifyCreatedTopicStreamMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a stream message created with
MockTopicSession.createMessage
is acknowledged. | public void | verifyCreatedTopicStreamMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a stream message created with
MockTopicSession.createMessage
is not acknowledged. | public void | verifyCreatedTopicTextMessageAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a text message created with
MockTopicSession.createMessage
is acknowledged. | public void | verifyCreatedTopicTextMessageNotAcknowledged(int indexOfSession, int indexOfMessage) Verifies that a text message created with
MockTopicSession.createMessage
is not acknowledged. | public void | verifyCurrentQueueMessageEquals(String nameOfQueue, int indexOfSourceMessage, MockMessage targetMessage) Verifies that a message in the specified queue is equal to
the specified message by calling the equals() method. | public void | verifyCurrentQueueMessageEquals(int indexOfSession, int indexOfQueue, int indexOfSourceMessage, MockMessage targetMessage) Verifies that a message in the specified temporary queue is equal to
the specified message by calling the equals() method. | public void | verifyCurrentTopicMessageEquals(String nameOfTopic, int indexOfSourceMessage, MockMessage targetMessage) Verifies that a message in the specified topic is equal to
the specified message by calling the equals() method. | public void | verifyCurrentTopicMessageEquals(int indexOfSession, int indexOfTopic, int indexOfSourceMessage, MockMessage targetMessage) Verifies that a message in the specified temporary topic is equal to
the specified message by calling the equals() method. | public void | verifyDurableTopicSubscriberClosed(int indexOfSession, String name) Verifies that the specified durable subscriber is closed. | public void | verifyDurableTopicSubscriberPresent(int indexOfSession, String name) Verifies that a durable subscriber exists. | public void | verifyMessageEquals(MockMessage message1, MockMessage message2) Verifies that the specified messages are equal by calling the
equals() method. | public void | verifyNumberDurableTopicSubscribers(int indexOfSession, int numberOfSubscribers) Verifies the number of durable subscribers for the specified session. | public void | verifyNumberDurableTopicSubscribers(int indexOfSession, String topicName, int numberOfSubscribers) Verifies the number of durable subscribers for the specified session and
the specified topic name. | public void | verifyNumberMessageConsumers(int indexOfSession, int numberOfConsumers) Verifies the number of consumers for the specified session. | public void | verifyNumberMessageProducers(int indexOfSession, int numberOfProducers) Verifies the number of producers for the specified session. | public void | verifyNumberOfCreatedBytesMessages(int indexOfSession, int number) Verifies the number of bytes messages created with
MockSession.createBytesMessage . | public void | verifyNumberOfCreatedMapMessages(int indexOfSession, int number) Verifies the number of map messages created with
MockSession.createMapMessage . | public void | verifyNumberOfCreatedMessages(int indexOfSession, int number) Verifies the number of messages created with
MockSession.createMessage . | public void | verifyNumberOfCreatedObjectMessages(int indexOfSession, int number) Verifies the number of object messages created with
MockSession.createObjectMessage . | public void | verifyNumberOfCreatedQueueBytesMessages(int indexOfSession, int number) Verifies the number of bytes messages created with
MockQueueSession.createBytesMessage . | public void | verifyNumberOfCreatedQueueMapMessages(int indexOfSession, int number) Verifies the number of map messages created with
MockQueueSession.createMapMessage . | public void | verifyNumberOfCreatedQueueMessages(int indexOfSession, int number) Verifies the number of messages created with
MockQueueSession.createMessage . | public void | verifyNumberOfCreatedQueueObjectMessages(int indexOfSession, int number) Verifies the number of object messages created with
MockQueueSession.createObjectMessage . | public void | verifyNumberOfCreatedQueueStreamMessages(int indexOfSession, int number) Verifies the number of stream messages created with
MockQueueSession.createStreamMessage . | public void | verifyNumberOfCreatedQueueTextMessages(int indexOfSession, int number) Verifies the number of text messages created with
MockQueueSession.createTextMessage . | public void | verifyNumberOfCreatedStreamMessages(int indexOfSession, int number) Verifies the number of stream messages created with
MockSession.createStreamMessage . | public void | verifyNumberOfCreatedTextMessages(int indexOfSession, int number) Verifies the number of text messages created with
MockSession.createTextMessage . | public void | verifyNumberOfCreatedTopicBytesMessages(int indexOfSession, int number) Verifies the number of bytes messages created with
MockTopicSession.createBytesMessage . | public void | verifyNumberOfCreatedTopicMapMessages(int indexOfSession, int number) Verifies the number of map messages created with
MockTopicSession.createMapMessage . | public void | verifyNumberOfCreatedTopicMessages(int indexOfSession, int number) Verifies the number of messages created with
MockTopicSession.createMessage . | public void | verifyNumberOfCreatedTopicObjectMessages(int indexOfSession, int number) Verifies the number of object messages created with
MockTopicSession.createObjectMessage . | public void | verifyNumberOfCreatedTopicStreamMessages(int indexOfSession, int number) Verifies the number of stream messages created with
MockTopicSession.createStreamMessage . | public void | verifyNumberOfCreatedTopicTextMessages(int indexOfSession, int number) Verifies the number of text messages created with
MockTopicSession.createTextMessage . | public void | verifyNumberOfCurrentQueueMessages(String nameOfQueue, int numberOfMessages) Verifies the number of messages in a queue. | public void | verifyNumberOfCurrentQueueMessages(int indexOfSession, int indexOfQueue, int numberOfMessages) Verifies the number of messages in a temporary queue. | public void | verifyNumberOfCurrentTopicMessages(String nameOfTopic, int numberOfMessages) Verifies the number of messages in a topic. | public void | verifyNumberOfCurrentTopicMessages(int indexOfSession, int indexOfTopic, int numberOfMessages) Verifies the number of messages in a temporary topic. | public void | verifyNumberOfReceivedQueueMessages(String nameOfQueue, int numberOfMessages) Verifies the number of messages received by a queue. | public void | verifyNumberOfReceivedQueueMessages(int indexOfSession, int indexOfQueue, int numberOfMessages) Verifies the number of messages received by a temporary queue. | public void | verifyNumberOfReceivedTopicMessages(String nameOfTopic, int numberOfMessages) Verifies the number of messages received by a topic. | public void | verifyNumberOfReceivedTopicMessages(int indexOfSession, int indexOfTopic, int numberOfMessages) Verifies the number of messages received by a temporary topic. | public void | verifyNumberQueueBrowsers(int indexOfSession, int numberOfBrowsers) Verifies the number of browsers for the specified session. | public void | verifyNumberQueueBrowsers(int indexOfSession, String queueName, int numberOfBrowsers) Verifies the number of browsers for the specified session and
the specified queue name. | public void | verifyNumberQueueReceivers(int indexOfSession, int numberOfReceivers) Verifies the number of receivers for the specified session. | public void | verifyNumberQueueReceivers(int indexOfSession, String queueName, int numberOfReceivers) Verifies the number of receivers for the specified session and
the specified queue name. | public void | verifyNumberQueueSenders(int indexOfSession, int numberOfSenders) Verifies the number of senders for the specified session. | public void | verifyNumberQueueSenders(int indexOfSession, String queueName, int numberOfSenders) Verifies the number of senders for the specified session and
the specified queue name. | public void | verifyNumberQueueSessions(int number) Verifies the number of queue sessions. | public void | verifyNumberSessions(int number) Verifies the number of sessions. | public void | verifyNumberTemporaryQueues(int indexOfSession, int numberQueues) Verifies the number of temporary queues. | public void | verifyNumberTemporaryTopics(int indexOfSession, int numberTopics) Verifies the number of temporary topics. | public void | verifyNumberTopicPublishers(int indexOfSession, int numberOfPublishers) Verifies the number of publishers for the specified session. | public void | verifyNumberTopicPublishers(int indexOfSession, String topicName, int numberOfPublishers) Verifies the number of publishers for the specified session and
the specified topic name. | public void | verifyNumberTopicSessions(int number) Verifies the number of topic sessions. | public void | verifyNumberTopicSubscribers(int indexOfSession, int numberOfSubscribers) Verifies the number of subscribers for the specified session. | public void | verifyNumberTopicSubscribers(int indexOfSession, String topicName, int numberOfSubscribers) Verifies the number of subscribers for the specified session and
the specified topic name. | public void | verifyQueueBrowserClosed(int indexOfSession, String queueName, int indexOfBrowser) Verifies that the specified browser is closed. | public void | verifyQueueConnectionClosed() Verifies that the current
MockQueueConnection is closed. | public void | verifyQueueConnectionStarted() Verifies that the current
MockQueueConnection is started. | public void | verifyQueueConnectionStopped() Verifies that the current
MockQueueConnection is stopped. | public void | verifyQueueReceiverClosed(int indexOfSession, String queueName, int indexOfReceiver) Verifies that the specified receiver is closed. | public void | verifyQueueSenderClosed(int indexOfSession, String queueName, int indexOfSender) Verifies that the specified sender is closed. | public void | verifyQueueSessionClosed(int indexOfSession) Verifies that the queue session with the specified index is
closed. | public void | verifyQueueSessionCommitted(int indexOfSession) Verifies that the queue session with the specified index was
committed. | public void | verifyQueueSessionNotCommitted(int indexOfSession) Verifies that the queue session with the specified index was
not committed. | public void | verifyQueueSessionNotRecovered(int indexOfSession) Verifies that the queue session with the specified index was
not recovered. | public void | verifyQueueSessionNotRolledBack(int indexOfSession) Verifies that the queue session with the specified index was
not rolled back. | public void | verifyQueueSessionNumberCommits(int indexOfSession, int numberOfCommits) Verifies the number of commits of the queue session with the specified index. | public void | verifyQueueSessionNumberRollbacks(int indexOfSession, int numberOfRollbacks) Verifies the number of rollbacks of the queue session with the specified index. | public void | verifyQueueSessionRecovered(int indexOfSession) Verifies that the queue session with the specified index was
recovered. | public void | verifyQueueSessionRolledBack(int indexOfSession) Verifies that the queue session with the specified index was
rolled back. | public void | verifyReceivedQueueMessageAcknowledged(String nameOfQueue, int indexOfMessage) Verifies that a received message is acknowledged. | public void | verifyReceivedQueueMessageAcknowledged(int indexOfSession, int indexOfQueue, int indexOfMessage) Verifies that message received by a temporary queue is acknowledged. | public void | verifyReceivedQueueMessageEquals(String nameOfQueue, int indexOfSourceMessage, MockMessage targetMessage) Verifies that a received message is equal to the specified message
by calling the equals() method. | public void | verifyReceivedQueueMessageEquals(int indexOfSession, int indexOfQueue, int indexOfSourceMessage, MockMessage targetMessage) Verifies that a message received by a temporary queue is equal to the specified message
by calling the equals() method. | public void | verifyReceivedQueueMessageNotAcknowledged(String nameOfQueue, int indexOfMessage) Verifies that a received message is not acknowledged. | public void | verifyReceivedQueueMessageNotAcknowledged(int indexOfSession, int indexOfQueue, int indexOfMessage) Verifies that a received by a temporary queue is not acknowledged. | public void | verifyReceivedTopicMessageAcknowledged(String nameOfTopic, int indexOfMessage) Verifies that a received message is acknowledged. | public void | verifyReceivedTopicMessageAcknowledged(int indexOfSession, int indexOfTopic, int indexOfMessage) Verifies that a message received by a temporary topic is acknowledged. | public void | verifyReceivedTopicMessageEquals(String nameOfTopic, int indexOfSourceMessage, MockMessage targetMessage) Verifies that a received message is equal to the specified message
by calling the equals() method. | public void | verifyReceivedTopicMessageEquals(int indexOfSession, int indexOfTopic, int indexOfSourceMessage, MockMessage targetMessage) Verifies that a message received by a temporary topic is equal to the specified message
by calling the equals() method. | public void | verifyReceivedTopicMessageNotAcknowledged(String nameOfTopic, int indexOfMessage) Verifies that a received message is not acknowledged. | public void | verifyReceivedTopicMessageNotAcknowledged(int indexOfSession, int indexOfTopic, int indexOfMessage) Verifies that a message received by a temporary topic is not acknowledged. | public void | verifySessionClosed(int indexOfSession) Verifies that the session with the specified index is
closed. | public void | verifySessionCommitted(int indexOfSession) Verifies that the session with the specified index was
committed. | public void | verifySessionNotCommitted(int indexOfSession) Verifies that the session with the specified index was
not committed. | public void | verifySessionNotRecovered(int indexOfSession) Verifies that the session with the specified index was
not recovered. | public void | verifySessionNotRolledBack(int indexOfSession) Verifies that the session with the specified index was
not rolled back. | public void | verifySessionNumberCommits(int indexOfSession, int numberOfCommits) Verifies the number of commits of session with the specified index. | public void | verifySessionNumberRollbacks(int indexOfSession, int numberOfRollbacks) Verifies the number of rollbacks of session with the specified index. | public void | verifySessionRecovered(int indexOfSession) Verifies that the session with the specified index was
recovered. | public void | verifySessionRolledBack(int indexOfSession) Verifies that the session with the specified index was
rolled back. | public void | verifyTemporaryQueueDeleted(int indexOfSession, int indexOfQueue) Verifies that the temporary queue with the specified index
was deleted. | public void | verifyTemporaryTopicDeleted(int indexOfSession, int indexOfTopic) Verifies that the temporary topic with the specified index
was closed. | public void | verifyTopicConnectionClosed() Verifies that the current
MockTopicConnection is closed. | public void | verifyTopicConnectionStarted() Verifies that the current
MockTopicConnection is started. | public void | verifyTopicConnectionStopped() Verifies that the current
MockTopicConnection is stopped. | public void | verifyTopicPublisherClosed(int indexOfSession, String topicName, int indexOfPublisher) Verifies that the specified publisher is closed. | public void | verifyTopicSessionClosed(int indexOfSession) Verifies that the topic session with the specified index is
closed. | public void | verifyTopicSessionCommitted(int indexOfSession) Verifies that the topic session with the specified index was
committed. | public void | verifyTopicSessionNotCommitted(int indexOfSession) Verifies that the topic session with the specified index was
not committed. | public void | verifyTopicSessionNotRecovered(int indexOfSession) Verifies that the topic session with the specified index was
not recovered. | public void | verifyTopicSessionNotRolledBack(int indexOfSession) Verifies that the topic session with the specified index was
not rolled back. | public void | verifyTopicSessionNumberCommits(int indexOfSession, int numberOfCommits) Verifies the number of commits of the topic session with the specified index. | public void | verifyTopicSessionNumberRollbacks(int indexOfSession, int numberOfRollbacks) Verifies the number of rollbacks of the topic session with the specified index. | public void | verifyTopicSessionRecovered(int indexOfSession) Verifies that the topic session with the specified index was
recovered. | public void | verifyTopicSessionRolledBack(int indexOfSession) Verifies that the topic session with the specified index was
rolled back. | public void | verifyTopicSubscriberClosed(int indexOfSession, String topicName, int indexOfSubscriber) Verifies that the specified subscriber is closed. |
getCurrentMessageListFromQueue | public List getCurrentMessageListFromQueue(String name)(Code) | | Returns the list of messages that are currently present in the queue
or null if no such queue exists.
Parameters: name - the name of the queue the list of messages |
getCurrentMessageListFromTemporaryQueue | public List getCurrentMessageListFromTemporaryQueue(int indexOfSession, int indexOfQueue)(Code) | | Returns the list of messages that are currently present in the
temporary queue or null if no such queue exists.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfQueue - the index of the temporary queue the list of messages |
getCurrentMessageListFromTemporaryTopic | public List getCurrentMessageListFromTemporaryTopic(int indexOfSession, int indexOfTopic)(Code) | | Returns the list of messages that are currently present in the
temporary topic or null if no such topic exists.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfTopic - the index of the temporary topic the list of messages |
getCurrentMessageListFromTopic | public List getCurrentMessageListFromTopic(String name)(Code) | | Returns the list of messages that are currently present in the topic
or null if no such topic exists.
Parameters: name - the name of the queue the list of messages |
getMessageManager | public MessageManager getMessageManager(int indexOfSession)(Code) | | Returns the
MessageManager for the specified session
or null if the session does not exist. The returned
MessageManager is used to keep track of messages sent
to topics.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session the MessageManager |
getQueueMessageManager | public MessageManager getQueueMessageManager(int indexOfSession)(Code) | | Returns the
MessageManager for the specified session
or null if the session does not exist. The returned
MessageManager is used to keep track of messages sent
to queues.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session the MessageManager |
getReceivedMessageListFromQueue | public List getReceivedMessageListFromQueue(String name)(Code) | | Returns the list of messages that were received by the queue
or null if no such queue exists.
Parameters: name - the name of the queue the list of messages |
getReceivedMessageListFromTemporaryQueue | public List getReceivedMessageListFromTemporaryQueue(int indexOfSession, int indexOfQueue)(Code) | | Returns the list of messages that were received by the
temporary queue or null if no such queue exists.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfQueue - the index of the temporary queue the list of messages |
getReceivedMessageListFromTemporaryTopic | public List getReceivedMessageListFromTemporaryTopic(int indexOfSession, int indexOfTopic)(Code) | | Returns the list of messages that were received by the
temporary topic or null if no such topic exists.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfTopic - the index of the temporary topic the list of messages |
getReceivedMessageListFromTopic | public List getReceivedMessageListFromTopic(String name)(Code) | | Returns the list of messages that were received by the topic
or null if no such topic exists.
Parameters: name - the name of the topic the list of messages |
getSession | public MockSession getSession(int indexOfSession)(Code) | | Returns the
MockSession for the specified index
or null if the session does not exist.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session the MockSession |
getTemporaryQueue | public MockTemporaryQueue getTemporaryQueue(int indexOfSession, int indexOfQueue)(Code) | | Returns the
MockTemporaryQueue with the specified index
for the specified session. Returns null if no such
temporary queue exists. The session has to be created using
the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfQueue - the index of the temporary queue the MockTemporaryQueue |
getTemporaryTopic | public MockTemporaryTopic getTemporaryTopic(int indexOfSession, int indexOfTopic)(Code) | | Returns the
MockTemporaryTopic with the specified index
for the specified session. Returns null if no such
temporary queue exists. The session has to be created using
the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfTopic - the index of the temporary queue the MockTemporaryTopic |
getTopicMessageManager | public MessageManager getTopicMessageManager(int indexOfSession)(Code) | | Returns the
MessageManager for the specified session
or null if the session does not exist. The returned
MessageManager is used to keep track of messages sent
to topics.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session the MessageManager |
registerTestMessageListenerForQueue | public void registerTestMessageListenerForQueue(String queueName, MessageListener listener)(Code) | | Creates a new connection and uses it for creating a new session and receiver.
Registers the specified listener. Starts the connection for message
receiving. This method is useful for creating test listeners when
testing senders. It can be used to register message driven beans.
Note that the created connection is the latest created
connection and automatically becomes the default connection for the
test module. The created session is transacted.
This method uses the
MockQueueConnectionFactory for
creating the connection and the session. If you want to use the
com.mockrunner.mock.jms.MockConnectionFactory you have to create the connection on your own
and call
JMSTestModule.registerTestMessageListenerForQueue(MockConnection,String,MessageListener) .
Parameters: queueName - the name of the queue used for message receiving Parameters: listener - the listener that should be registered |
registerTestMessageListenerForQueue | public void registerTestMessageListenerForQueue(MockConnection connection, String queueName, MessageListener listener)(Code) | | Creates a new session and receiver using the specified connection and
registers the specified listener. Starts the connection for message
receiving. This method is useful for creating test listeners when
testing senders. It can be used to register message driven beans.
The created session is transacted.
Parameters: connection - the connection used for creating the session Parameters: queueName - the name of the queue used for message receiving Parameters: listener - the listener that should be registered |
registerTestMessageListenerForQueue | public void registerTestMessageListenerForQueue(MockConnection connection, String queueName, boolean transacted, int acknowledgeMode, MessageListener listener)(Code) | | Creates a new session and receiver using the specified connection and
registers the specified listener. Starts the connection for message
receiving. This method is useful for creating test listeners when
testing senders. It can be used to register message driven beans.
Parameters: connection - the connection used for creating the session Parameters: queueName - the name of the queue used for message receiving Parameters: transacted - should the created session be transacted Parameters: acknowledgeMode - the acknowledge mode of the created session Parameters: listener - the listener that should be registered |
registerTestMessageListenerForQueue | public void registerTestMessageListenerForQueue(MockConnection connection, String queueName, boolean transacted, int acknowledgeMode, String messageSelector, MessageListener listener)(Code) | | Creates a new session and receiver using the specified connection and
registers the specified listener. Starts the connection for message
receiving. This method is useful for creating test listeners when
testing senders. It can be used to register message driven beans.
Parameters: connection - the connection used for creating the session Parameters: queueName - the name of the queue used for message receiving Parameters: transacted - should the created session be transacted Parameters: acknowledgeMode - the acknowledge mode of the created session Parameters: messageSelector - the message selector Parameters: listener - the listener that should be registered |
registerTestMessageListenerForTopic | public void registerTestMessageListenerForTopic(String topicName, MessageListener listener)(Code) | | Creates a new connection and uses it for creating a new session and subscriber.
Registers the specified listener. Starts the connection for message
receiving. This method is useful for creating test listeners when
testing publishers. It can be used to resgister message driven beans.
Note that the created connection is the latest created
connection and automatically becomes the default connection for the
test module. The created session is transacted.
This method uses the
MockTopicConnectionFactory for
creating the connection and the session. If you want to use the
com.mockrunner.mock.jms.MockConnectionFactory you have to create the connection on your own
and call
JMSTestModule.registerTestMessageListenerForTopic(MockConnection,String,MessageListener) .
Parameters: topicName - the name of the topic used for message receiving Parameters: listener - the listener that should be registered |
registerTestMessageListenerForTopic | public void registerTestMessageListenerForTopic(MockConnection connection, String topicName, MessageListener listener)(Code) | | Creates a new session and subscriber using the specified connection and
registers the specified listener. Starts the connection for message
receiving. This method is useful for creating test listeners when
testing publishers. It can be used to resgister message driven beans.
The created session is transacted.
Parameters: connection - the connection used for creating the session Parameters: topicName - the name of the topic used for message receiving Parameters: listener - the listener that should be registered |
registerTestMessageListenerForTopic | public void registerTestMessageListenerForTopic(MockConnection connection, String topicName, boolean transacted, int acknowledgeMode, MessageListener listener)(Code) | | Creates a new session and subscriber using the specified connection and
registers the specified listener. Starts the connection for message
receiving. This method is useful for creating test listeners when
testing publishers. It can be used to resgister message driven beans.
Parameters: connection - the connection used for creating the session Parameters: topicName - the name of the topic used for message receiving Parameters: transacted - should the created session be transacted Parameters: acknowledgeMode - the acknowledge mode of the created session Parameters: listener - the listener that should be registered |
registerTestMessageListenerForTopic | public void registerTestMessageListenerForTopic(MockConnection connection, String topicName, boolean transacted, int acknowledgeMode, String messageSelector, MessageListener listener)(Code) | | Creates a new session and subscriber using the specified connection and
registers the specified listener. Starts the connection for message
receiving. This method is useful for creating test listeners when
testing publishers. It can be used to resgister message driven beans.
Parameters: connection - the connection used for creating the session Parameters: topicName - the name of the topic used for message receiving Parameters: transacted - should the created session be transacted Parameters: acknowledgeMode - the acknowledge mode of the created session Parameters: messageSelector - the message selector Parameters: listener - the listener that should be registered |
setCurrentConnectionIndex | public void setCurrentConnectionIndex(int connectionIndex)(Code) | | Sets the index of the
MockConnection that should be used
for the current test. Per default the latest created connection
is used.
Parameters: connectionIndex - the index of the connection |
setCurrentQueueConnectionIndex | public void setCurrentQueueConnectionIndex(int connectionIndex)(Code) | | Sets the index of the
MockQueueConnection that should be used
for the current test. Per default the latest created connection
is used.
Parameters: connectionIndex - the index of the connection |
setCurrentTopicConnectionIndex | public void setCurrentTopicConnectionIndex(int connectionIndex)(Code) | | Sets the index of the
MockTopicConnection that should be used
for the current test. Per default the latest created connection
is used.
Parameters: connectionIndex - the index of the connection |
verifyAllDurableTopicSubscribersClosed | public void verifyAllDurableTopicSubscribersClosed(int indexOfSession)(Code) | | Verifies that all durable subscribers for the specified session are closed.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyAllMessageConsumersClosed | public void verifyAllMessageConsumersClosed(int indexOfSession)(Code) | | Verifies that all consumers for the specified session are closed.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyAllMessageProducersClosed | public void verifyAllMessageProducersClosed(int indexOfSession)(Code) | | Verifies that all producers for the specified session are closed.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyAllQueueBrowsersClosed | public void verifyAllQueueBrowsersClosed(int indexOfSession)(Code) | | Verifies that all browsers for the specified session are closed.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyAllQueueReceiversClosed | public void verifyAllQueueReceiversClosed(int indexOfSession)(Code) | | Verifies that all receivers for the specified session are closed.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyAllQueueSendersClosed | public void verifyAllQueueSendersClosed(int indexOfSession)(Code) | | Verifies that all senders for the specified session are closed.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyAllQueueSessionsClosed | public void verifyAllQueueSessionsClosed()(Code) | | Verifies that all queue sessions are closed.
The sessions have to be created using the current
MockQueueConnection .
throws: VerifyFailedException - if verification fails |
verifyAllQueueSessionsCommitted | public void verifyAllQueueSessionsCommitted()(Code) | | Verifies that all queue sessions were commited.
The sessions have to be created using the current
MockQueueConnection .
throws: VerifyFailedException - if verification fails |
verifyAllQueueSessionsRecovered | public void verifyAllQueueSessionsRecovered()(Code) | | Verifies that all queue sessions are recovered.
The sessions have to be created using the current
MockQueueConnection .
throws: VerifyFailedException - if verification fails |
verifyAllQueueSessionsRolledBack | public void verifyAllQueueSessionsRolledBack()(Code) | | Verifies that all queue sessions were rolled back.
The sessions have to be created using the current
MockQueueConnection .
throws: VerifyFailedException - if verification fails |
verifyAllReceivedQueueMessagesAcknowledged | public void verifyAllReceivedQueueMessagesAcknowledged(String nameOfQueue)(Code) | | Verifies that all received messages of the specified queue
are acknowledged.
Parameters: nameOfQueue - the name of the queue throws: VerifyFailedException - if verification fails |
verifyAllReceivedQueueMessagesAcknowledged | public void verifyAllReceivedQueueMessagesAcknowledged(int indexOfSession, int indexOfQueue)(Code) | | Verifies that all received messages of the specified temporary queue
are acknowledged.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfQueue - the index of the temporary queue throws: VerifyFailedException - if verification fails |
verifyAllReceivedTopicMessagesAcknowledged | public void verifyAllReceivedTopicMessagesAcknowledged(String nameOfTopic)(Code) | | Verifies that all received messages of the specified topic
are acknowledged.
Parameters: nameOfTopic - the name of the topic throws: VerifyFailedException - if verification fails |
verifyAllReceivedTopicMessagesAcknowledged | public void verifyAllReceivedTopicMessagesAcknowledged(int indexOfSession, int indexOfTopic)(Code) | | Verifies that all received messages of the specified temporary topic
are acknowledged.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfTopic - the index of the temporary topic throws: VerifyFailedException - if verification fails |
verifyAllSessionsClosed | public void verifyAllSessionsClosed()(Code) | | Verifies that all sessions are closed.
The sessions have to be created using the current
MockConnection .
throws: VerifyFailedException - if verification fails |
verifyAllSessionsCommitted | public void verifyAllSessionsCommitted()(Code) | | Verifies that all sessions were commited.
The sessions have to be created using the current
MockConnection .
throws: VerifyFailedException - if verification fails |
verifyAllSessionsRecovered | public void verifyAllSessionsRecovered()(Code) | | Verifies that all sessions are recovered.
The sessions have to be created using the current
MockConnection .
throws: VerifyFailedException - if verification fails |
verifyAllSessionsRolledBack | public void verifyAllSessionsRolledBack()(Code) | | Verifies that all topic sessions were rolled back.
The sessions have to be created using the current
MockConnection .
throws: VerifyFailedException - if verification fails |
verifyAllTemporaryQueuesDeleted | public void verifyAllTemporaryQueuesDeleted(int indexOfSession)(Code) | | Verifies that all temporary queues were deleted.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyAllTemporaryTopicsDeleted | public void verifyAllTemporaryTopicsDeleted(int indexOfSession)(Code) | | Verifies that all temporary topics were deleted.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyAllTopicPublishersClosed | public void verifyAllTopicPublishersClosed(int indexOfSession)(Code) | | Verifies that all publishers for the specified session are closed.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyAllTopicSessionsClosed | public void verifyAllTopicSessionsClosed()(Code) | | Verifies that all topic sessions are closed.
The sessions have to be created using the current
MockTopicConnection .
throws: VerifyFailedException - if verification fails |
verifyAllTopicSessionsCommitted | public void verifyAllTopicSessionsCommitted()(Code) | | Verifies that all topic sessions were commited.
The sessions have to be created using the current
MockTopicConnection .
throws: VerifyFailedException - if verification fails |
verifyAllTopicSessionsRecovered | public void verifyAllTopicSessionsRecovered()(Code) | | Verifies that all topic sessions are recovered.
The sessions have to be created using the current
MockTopicConnection .
throws: VerifyFailedException - if verification fails |
verifyAllTopicSessionsRolledBack | public void verifyAllTopicSessionsRolledBack()(Code) | | Verifies that all topic sessions were rolled back.
The sessions have to be created using the current
MockTopicConnection .
throws: VerifyFailedException - if verification fails |
verifyAllTopicSubscribersClosed | public void verifyAllTopicSubscribersClosed(int indexOfSession)(Code) | | Verifies that all subscribers for the specified session are closed.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyCreatedBytesMessageAcknowledged | public void verifyCreatedBytesMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a bytes message created with
MockSession.createMessage
is acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedBytesMessageNotAcknowledged | public void verifyCreatedBytesMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a bytes message created with
MockSession.createMessage
is not acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedMapMessageAcknowledged | public void verifyCreatedMapMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a map message created with
MockSession.createMessage
is acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedMapMessageNotAcknowledged | public void verifyCreatedMapMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a map message created with
MockSession.createMessage
is not acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedMessageAcknowledged | public void verifyCreatedMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a message created with
MockSession.createMessage
is acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedMessageNotAcknowledged | public void verifyCreatedMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a message created with
MockSession.createMessage
is not acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedObjectMessageAcknowledged | public void verifyCreatedObjectMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a object message created with
MockSession.createMessage
is acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedObjectMessageNotAcknowledged | public void verifyCreatedObjectMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a object message created with
MockSession.createMessage
is not acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedQueueBytesMessageAcknowledged | public void verifyCreatedQueueBytesMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a bytes message created with
MockQueueSession.createMessage
is acknowledged.
This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedQueueBytesMessageNotAcknowledged | public void verifyCreatedQueueBytesMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a bytes message created with
MockQueueSession.createMessage
is not acknowledged.
This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedQueueMapMessageAcknowledged | public void verifyCreatedQueueMapMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a map message created with
MockQueueSession.createMessage
is acknowledged.
This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedQueueMapMessageNotAcknowledged | public void verifyCreatedQueueMapMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a map message created with
MockQueueSession.createMessage
is not acknowledged.
This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedQueueMessageAcknowledged | public void verifyCreatedQueueMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a message created with
MockQueueSession.createMessage
is acknowledged.
This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedQueueMessageNotAcknowledged | public void verifyCreatedQueueMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a message created with
MockQueueSession.createMessage
is not acknowledged.
This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedQueueObjectMessageAcknowledged | public void verifyCreatedQueueObjectMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a object message created with
MockQueueSession.createMessage
is acknowledged.
This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedQueueObjectMessageNotAcknowledged | public void verifyCreatedQueueObjectMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a object message created with
MockQueueSession.createMessage
is not acknowledged.
This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedQueueStreamMessageAcknowledged | public void verifyCreatedQueueStreamMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a stream message created with
MockQueueSession.createMessage
is acknowledged.
This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedQueueStreamMessageNotAcknowledged | public void verifyCreatedQueueStreamMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a stream message created with
MockQueueSession.createMessage
is not acknowledged.
This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedQueueTextMessageAcknowledged | public void verifyCreatedQueueTextMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a text message created with
MockQueueSession.createMessage
is acknowledged.
This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedQueueTextMessageNotAcknowledged | public void verifyCreatedQueueTextMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a text message created with
MockQueueSession.createMessage
is not acknowledged.
This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedStreamMessageAcknowledged | public void verifyCreatedStreamMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a stream message created with
MockSession.createMessage
is acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedStreamMessageNotAcknowledged | public void verifyCreatedStreamMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a stream message created with
MockSession.createMessage
is not acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedTextMessageAcknowledged | public void verifyCreatedTextMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a text message created with
MockSession.createMessage
is acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedTextMessageNotAcknowledged | public void verifyCreatedTextMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a text message created with
MockSession.createMessage
is not acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedTopicBytesMessageAcknowledged | public void verifyCreatedTopicBytesMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a bytes message created with
MockTopicSession.createMessage
is acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedTopicBytesMessageNotAcknowledged | public void verifyCreatedTopicBytesMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a bytes message created with
MockTopicSession.createMessage
is not acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedTopicMapMessageAcknowledged | public void verifyCreatedTopicMapMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a map message created with
MockTopicSession.createMessage
is acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedTopicMapMessageNotAcknowledged | public void verifyCreatedTopicMapMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a map message created with
MockTopicSession.createMessage
is not acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedTopicMessageAcknowledged | public void verifyCreatedTopicMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a message created with
MockTopicSession.createMessage
is acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedTopicMessageNotAcknowledged | public void verifyCreatedTopicMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a message created with
MockTopicSession.createMessage
is not acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedTopicObjectMessageAcknowledged | public void verifyCreatedTopicObjectMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a object message created with
MockTopicSession.createMessage
is acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedTopicObjectMessageNotAcknowledged | public void verifyCreatedTopicObjectMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a object message created with
MockTopicSession.createMessage
is not acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedTopicStreamMessageAcknowledged | public void verifyCreatedTopicStreamMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a stream message created with
MockTopicSession.createMessage
is acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedTopicStreamMessageNotAcknowledged | public void verifyCreatedTopicStreamMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a stream message created with
MockTopicSession.createMessage
is not acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedTopicTextMessageAcknowledged | public void verifyCreatedTopicTextMessageAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a text message created with
MockTopicSession.createMessage
is acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCreatedTopicTextMessageNotAcknowledged | public void verifyCreatedTopicTextMessageNotAcknowledged(int indexOfSession, int indexOfMessage)(Code) | | Verifies that a text message created with
MockTopicSession.createMessage
is not acknowledged. This method makes sense if messages are not cloned
when sending them. This is the default, use
ConfigurationManager.setDoCloneOnSend .
If messages are cloned, the cloned message is acknowledged instead of
the created message.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfMessage - the index of the message throws: VerifyFailedException - if verification fails |
verifyCurrentQueueMessageEquals | public void verifyCurrentQueueMessageEquals(String nameOfQueue, int indexOfSourceMessage, MockMessage targetMessage)(Code) | | Verifies that a message in the specified queue is equal to
the specified message by calling the equals() method.
All mock messages provide a suitable implementation of equals() .
Parameters: nameOfQueue - the name of the queue Parameters: indexOfSourceMessage - the index of the message in the queue Parameters: targetMessage - the message that will be used for comparison throws: VerifyFailedException - if verification fails |
verifyCurrentQueueMessageEquals | public void verifyCurrentQueueMessageEquals(int indexOfSession, int indexOfQueue, int indexOfSourceMessage, MockMessage targetMessage)(Code) | | Verifies that a message in the specified temporary queue is equal to
the specified message by calling the equals() method.
All mock messages provide a suitable implementation of equals() .
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfQueue - the index of the temporary queue Parameters: indexOfSourceMessage - the index of the message in the queue Parameters: targetMessage - the message that will be used for comparison throws: VerifyFailedException - if verification fails |
verifyCurrentTopicMessageEquals | public void verifyCurrentTopicMessageEquals(String nameOfTopic, int indexOfSourceMessage, MockMessage targetMessage)(Code) | | Verifies that a message in the specified topic is equal to
the specified message by calling the equals() method.
All mock messages provide a suitable implementation of equals() .
Parameters: nameOfTopic - the name of the topic Parameters: indexOfSourceMessage - the index of the message in the topic Parameters: targetMessage - the message that will be used for comparison throws: VerifyFailedException - if verification fails |
verifyCurrentTopicMessageEquals | public void verifyCurrentTopicMessageEquals(int indexOfSession, int indexOfTopic, int indexOfSourceMessage, MockMessage targetMessage)(Code) | | Verifies that a message in the specified temporary topic is equal to
the specified message by calling the equals() method.
All mock messages provide a suitable implementation of equals() .
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfTopic - the index of the temporary topic Parameters: indexOfSourceMessage - the index of the message in the topic Parameters: targetMessage - the message that will be used for comparison throws: VerifyFailedException - if verification fails |
verifyDurableTopicSubscriberClosed | public void verifyDurableTopicSubscriberClosed(int indexOfSession, String name)(Code) | | Verifies that the specified durable subscriber is closed.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: name - the name of the subscription throws: VerifyFailedException - if verification fails |
verifyDurableTopicSubscriberPresent | public void verifyDurableTopicSubscriberPresent(int indexOfSession, String name)(Code) | | Verifies that a durable subscriber exists.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: name - the name of the subscription throws: VerifyFailedException - if verification fails |
verifyMessageEquals | public void verifyMessageEquals(MockMessage message1, MockMessage message2)(Code) | | Verifies that the specified messages are equal by calling the
equals() method. All mock messages provide a
suitable implementation of equals() .
Parameters: message1 - the first message Parameters: message2 - the second message throws: VerifyFailedException - if verification fails |
verifyNumberDurableTopicSubscribers | public void verifyNumberDurableTopicSubscribers(int indexOfSession, int numberOfSubscribers)(Code) | | Verifies the number of durable subscribers for the specified session.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: numberOfSubscribers - the expected number of durable subscribers throws: VerifyFailedException - if verification fails |
verifyNumberDurableTopicSubscribers | public void verifyNumberDurableTopicSubscribers(int indexOfSession, String topicName, int numberOfSubscribers)(Code) | | Verifies the number of durable subscribers for the specified session and
the specified topic name.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: topicName - the name of the topic Parameters: numberOfSubscribers - the expected number of durable subscribers throws: VerifyFailedException - if verification fails |
verifyNumberMessageConsumers | public void verifyNumberMessageConsumers(int indexOfSession, int numberOfConsumers)(Code) | | Verifies the number of consumers for the specified session.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: numberOfConsumers - the expected number of consumers throws: VerifyFailedException - if verification fails |
verifyNumberMessageProducers | public void verifyNumberMessageProducers(int indexOfSession, int numberOfProducers)(Code) | | Verifies the number of producers for the specified session.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: numberOfProducers - the expected number of producers throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedBytesMessages | public void verifyNumberOfCreatedBytesMessages(int indexOfSession, int number)(Code) | | Verifies the number of bytes messages created with
MockSession.createBytesMessage .
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of bytes messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedMapMessages | public void verifyNumberOfCreatedMapMessages(int indexOfSession, int number)(Code) | | Verifies the number of map messages created with
MockSession.createMapMessage .
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of map messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedMessages | public void verifyNumberOfCreatedMessages(int indexOfSession, int number)(Code) | | Verifies the number of messages created with
MockSession.createMessage .
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedObjectMessages | public void verifyNumberOfCreatedObjectMessages(int indexOfSession, int number)(Code) | | Verifies the number of object messages created with
MockSession.createObjectMessage .
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of object messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedQueueBytesMessages | public void verifyNumberOfCreatedQueueBytesMessages(int indexOfSession, int number)(Code) | | Verifies the number of bytes messages created with
MockQueueSession.createBytesMessage .
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of bytes messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedQueueMapMessages | public void verifyNumberOfCreatedQueueMapMessages(int indexOfSession, int number)(Code) | | Verifies the number of map messages created with
MockQueueSession.createMapMessage .
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of map messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedQueueMessages | public void verifyNumberOfCreatedQueueMessages(int indexOfSession, int number)(Code) | | Verifies the number of messages created with
MockQueueSession.createMessage .
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedQueueObjectMessages | public void verifyNumberOfCreatedQueueObjectMessages(int indexOfSession, int number)(Code) | | Verifies the number of object messages created with
MockQueueSession.createObjectMessage .
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of object messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedQueueStreamMessages | public void verifyNumberOfCreatedQueueStreamMessages(int indexOfSession, int number)(Code) | | Verifies the number of stream messages created with
MockQueueSession.createStreamMessage .
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of stream messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedQueueTextMessages | public void verifyNumberOfCreatedQueueTextMessages(int indexOfSession, int number)(Code) | | Verifies the number of text messages created with
MockQueueSession.createTextMessage .
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of text messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedStreamMessages | public void verifyNumberOfCreatedStreamMessages(int indexOfSession, int number)(Code) | | Verifies the number of stream messages created with
MockSession.createStreamMessage .
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of stream messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedTextMessages | public void verifyNumberOfCreatedTextMessages(int indexOfSession, int number)(Code) | | Verifies the number of text messages created with
MockSession.createTextMessage .
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of text messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedTopicBytesMessages | public void verifyNumberOfCreatedTopicBytesMessages(int indexOfSession, int number)(Code) | | Verifies the number of bytes messages created with
MockTopicSession.createBytesMessage .
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of bytes messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedTopicMapMessages | public void verifyNumberOfCreatedTopicMapMessages(int indexOfSession, int number)(Code) | | Verifies the number of map messages created with
MockTopicSession.createMapMessage .
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of map messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedTopicMessages | public void verifyNumberOfCreatedTopicMessages(int indexOfSession, int number)(Code) | | Verifies the number of messages created with
MockTopicSession.createMessage .
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedTopicObjectMessages | public void verifyNumberOfCreatedTopicObjectMessages(int indexOfSession, int number)(Code) | | Verifies the number of object messages created with
MockTopicSession.createObjectMessage .
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of object messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedTopicStreamMessages | public void verifyNumberOfCreatedTopicStreamMessages(int indexOfSession, int number)(Code) | | Verifies the number of stream messages created with
MockTopicSession.createStreamMessage .
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of stream messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCreatedTopicTextMessages | public void verifyNumberOfCreatedTopicTextMessages(int indexOfSession, int number)(Code) | | Verifies the number of text messages created with
MockTopicSession.createTextMessage .
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: number - the expected number of text messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCurrentQueueMessages | public void verifyNumberOfCurrentQueueMessages(String nameOfQueue, int numberOfMessages)(Code) | | Verifies the number of messages in a queue.
Parameters: nameOfQueue - the name of the queue Parameters: numberOfMessages - the expected number of messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCurrentQueueMessages | public void verifyNumberOfCurrentQueueMessages(int indexOfSession, int indexOfQueue, int numberOfMessages)(Code) | | Verifies the number of messages in a temporary queue.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfQueue - the index of the temporary queue Parameters: numberOfMessages - the expected number of messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCurrentTopicMessages | public void verifyNumberOfCurrentTopicMessages(String nameOfTopic, int numberOfMessages)(Code) | | Verifies the number of messages in a topic.
Parameters: nameOfTopic - the name of the topic Parameters: numberOfMessages - the expected number of messages throws: VerifyFailedException - if verification fails |
verifyNumberOfCurrentTopicMessages | public void verifyNumberOfCurrentTopicMessages(int indexOfSession, int indexOfTopic, int numberOfMessages)(Code) | | Verifies the number of messages in a temporary topic.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfTopic - the index of the temporary topic Parameters: numberOfMessages - the expected number of messages throws: VerifyFailedException - if verification fails |
verifyNumberOfReceivedQueueMessages | public void verifyNumberOfReceivedQueueMessages(String nameOfQueue, int numberOfMessages)(Code) | | Verifies the number of messages received by a queue.
Parameters: nameOfQueue - the name of the queue Parameters: numberOfMessages - the expected number of messages throws: VerifyFailedException - if verification fails |
verifyNumberOfReceivedQueueMessages | public void verifyNumberOfReceivedQueueMessages(int indexOfSession, int indexOfQueue, int numberOfMessages)(Code) | | Verifies the number of messages received by a temporary queue.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfQueue - the index of the temporary queue Parameters: numberOfMessages - the expected number of messages throws: VerifyFailedException - if verification fails |
verifyNumberOfReceivedTopicMessages | public void verifyNumberOfReceivedTopicMessages(String nameOfTopic, int numberOfMessages)(Code) | | Verifies the number of messages received by a topic.
Parameters: nameOfTopic - the name of the topic Parameters: numberOfMessages - the expected number of messages throws: VerifyFailedException - if verification fails |
verifyNumberOfReceivedTopicMessages | public void verifyNumberOfReceivedTopicMessages(int indexOfSession, int indexOfTopic, int numberOfMessages)(Code) | | Verifies the number of messages received by a temporary topic.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfTopic - the index of the temporary topic Parameters: numberOfMessages - the expected number of messages throws: VerifyFailedException - if verification fails |
verifyNumberQueueBrowsers | public void verifyNumberQueueBrowsers(int indexOfSession, int numberOfBrowsers)(Code) | | Verifies the number of browsers for the specified session.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: numberOfBrowsers - the expected number of browsers throws: VerifyFailedException - if verification fails |
verifyNumberQueueBrowsers | public void verifyNumberQueueBrowsers(int indexOfSession, String queueName, int numberOfBrowsers)(Code) | | Verifies the number of browsers for the specified session and
the specified queue name.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: queueName - the name of the queue Parameters: numberOfBrowsers - the expected number of browsers throws: VerifyFailedException - if verification fails |
verifyNumberQueueReceivers | public void verifyNumberQueueReceivers(int indexOfSession, int numberOfReceivers)(Code) | | Verifies the number of receivers for the specified session.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: numberOfReceivers - the expected number of receivers throws: VerifyFailedException - if verification fails |
verifyNumberQueueReceivers | public void verifyNumberQueueReceivers(int indexOfSession, String queueName, int numberOfReceivers)(Code) | | Verifies the number of receivers for the specified session and
the specified queue name.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: queueName - the name of the queue Parameters: numberOfReceivers - the expected number of receivers throws: VerifyFailedException - if verification fails |
verifyNumberQueueSenders | public void verifyNumberQueueSenders(int indexOfSession, int numberOfSenders)(Code) | | Verifies the number of senders for the specified session.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: numberOfSenders - the expected number of senders throws: VerifyFailedException - if verification fails |
verifyNumberQueueSenders | public void verifyNumberQueueSenders(int indexOfSession, String queueName, int numberOfSenders)(Code) | | Verifies the number of senders for the specified session and
the specified queue name.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: queueName - the name of the queue Parameters: numberOfSenders - the expected number of senders throws: VerifyFailedException - if verification fails |
verifyNumberQueueSessions | public void verifyNumberQueueSessions(int number)(Code) | | Verifies the number of queue sessions.
The sessions have to be created using the current
MockQueueConnection .
Parameters: number - the expected number of queue sessions throws: VerifyFailedException - if verification fails |
verifyNumberSessions | public void verifyNumberSessions(int number)(Code) | | Verifies the number of sessions.
The sessions have to be created using the current
MockConnection .
Parameters: number - the expected number of sessions throws: VerifyFailedException - if verification fails |
verifyNumberTemporaryQueues | public void verifyNumberTemporaryQueues(int indexOfSession, int numberQueues)(Code) | | Verifies the number of temporary queues.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: numberQueues - the expected number of temporary queues throws: VerifyFailedException - if verification fails |
verifyNumberTemporaryTopics | public void verifyNumberTemporaryTopics(int indexOfSession, int numberTopics)(Code) | | Verifies the number of temporary topics.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: numberTopics - the expected number of temporary topics throws: VerifyFailedException - if verification fails |
verifyNumberTopicPublishers | public void verifyNumberTopicPublishers(int indexOfSession, int numberOfPublishers)(Code) | | Verifies the number of publishers for the specified session.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: numberOfPublishers - the expected number of publishers throws: VerifyFailedException - if verification fails |
verifyNumberTopicPublishers | public void verifyNumberTopicPublishers(int indexOfSession, String topicName, int numberOfPublishers)(Code) | | Verifies the number of publishers for the specified session and
the specified topic name.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: topicName - the name of the topic Parameters: numberOfPublishers - the expected number of publishers throws: VerifyFailedException - if verification fails |
verifyNumberTopicSessions | public void verifyNumberTopicSessions(int number)(Code) | | Verifies the number of topic sessions.
The sessions have to be created using the current
MockTopicConnection .
Parameters: number - the expected number of topic sessions throws: VerifyFailedException - if verification fails |
verifyNumberTopicSubscribers | public void verifyNumberTopicSubscribers(int indexOfSession, int numberOfSubscribers)(Code) | | Verifies the number of subscribers for the specified session.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: numberOfSubscribers - the expected number of subscribers throws: VerifyFailedException - if verification fails |
verifyNumberTopicSubscribers | public void verifyNumberTopicSubscribers(int indexOfSession, String topicName, int numberOfSubscribers)(Code) | | Verifies the number of subscribers for the specified session and
the specified topic name.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: topicName - the name of the topic Parameters: numberOfSubscribers - the expected number of subscribers throws: VerifyFailedException - if verification fails |
verifyQueueBrowserClosed | public void verifyQueueBrowserClosed(int indexOfSession, String queueName, int indexOfBrowser)(Code) | | Verifies that the specified browser is closed.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: queueName - the name of the queue Parameters: indexOfBrowser - the index of the browser throws: VerifyFailedException - if verification fails |
verifyQueueReceiverClosed | public void verifyQueueReceiverClosed(int indexOfSession, String queueName, int indexOfReceiver)(Code) | | Verifies that the specified receiver is closed.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: queueName - the name of the queue Parameters: indexOfReceiver - the index of the receiver throws: VerifyFailedException - if verification fails |
verifyQueueSenderClosed | public void verifyQueueSenderClosed(int indexOfSession, String queueName, int indexOfSender)(Code) | | Verifies that the specified sender is closed.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: queueName - the name of the queue Parameters: indexOfSender - the index of the sender throws: VerifyFailedException - if verification fails |
verifyQueueSessionClosed | public void verifyQueueSessionClosed(int indexOfSession)(Code) | | Verifies that the queue session with the specified index is
closed.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyQueueSessionCommitted | public void verifyQueueSessionCommitted(int indexOfSession)(Code) | | Verifies that the queue session with the specified index was
committed.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyQueueSessionNotCommitted | public void verifyQueueSessionNotCommitted(int indexOfSession)(Code) | | Verifies that the queue session with the specified index was
not committed.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyQueueSessionNotRecovered | public void verifyQueueSessionNotRecovered(int indexOfSession)(Code) | | Verifies that the queue session with the specified index was
not recovered.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyQueueSessionNotRolledBack | public void verifyQueueSessionNotRolledBack(int indexOfSession)(Code) | | Verifies that the queue session with the specified index was
not rolled back.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyQueueSessionNumberCommits | public void verifyQueueSessionNumberCommits(int indexOfSession, int numberOfCommits)(Code) | | Verifies the number of commits of the queue session with the specified index.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: numberOfCommits - the expected number of commits throws: VerifyFailedException - if verification fails |
verifyQueueSessionNumberRollbacks | public void verifyQueueSessionNumberRollbacks(int indexOfSession, int numberOfRollbacks)(Code) | | Verifies the number of rollbacks of the queue session with the specified index.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: numberOfRollbacks - the expected number of rollbacks throws: VerifyFailedException - if verification fails |
verifyQueueSessionRecovered | public void verifyQueueSessionRecovered(int indexOfSession)(Code) | | Verifies that the queue session with the specified index was
recovered.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyQueueSessionRolledBack | public void verifyQueueSessionRolledBack(int indexOfSession)(Code) | | Verifies that the queue session with the specified index was
rolled back.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyReceivedQueueMessageAcknowledged | public void verifyReceivedQueueMessageAcknowledged(String nameOfQueue, int indexOfMessage)(Code) | | Verifies that a received message is acknowledged.
Parameters: nameOfQueue - the name of the queue Parameters: indexOfMessage - the index of the received message throws: VerifyFailedException - if verification fails |
verifyReceivedQueueMessageAcknowledged | public void verifyReceivedQueueMessageAcknowledged(int indexOfSession, int indexOfQueue, int indexOfMessage)(Code) | | Verifies that message received by a temporary queue is acknowledged.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfQueue - the index of the temporary queue Parameters: indexOfMessage - the index of the received message throws: VerifyFailedException - if verification fails |
verifyReceivedQueueMessageEquals | public void verifyReceivedQueueMessageEquals(String nameOfQueue, int indexOfSourceMessage, MockMessage targetMessage)(Code) | | Verifies that a received message is equal to the specified message
by calling the equals() method.
All mock messages provide a suitable implementation of equals() .
Parameters: nameOfQueue - the name of the queue Parameters: indexOfSourceMessage - the index of the received message Parameters: targetMessage - the message that will be used for comparison throws: VerifyFailedException - if verification fails |
verifyReceivedQueueMessageEquals | public void verifyReceivedQueueMessageEquals(int indexOfSession, int indexOfQueue, int indexOfSourceMessage, MockMessage targetMessage)(Code) | | Verifies that a message received by a temporary queue is equal to the specified message
by calling the equals() method.
All mock messages provide a suitable implementation of equals() .
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfQueue - the index of the temporary queue Parameters: indexOfSourceMessage - the index of the received message Parameters: targetMessage - the message that will be used for comparison throws: VerifyFailedException - if verification fails |
verifyReceivedQueueMessageNotAcknowledged | public void verifyReceivedQueueMessageNotAcknowledged(String nameOfQueue, int indexOfMessage)(Code) | | Verifies that a received message is not acknowledged.
Parameters: nameOfQueue - the name of the queue Parameters: indexOfMessage - the index of the received message throws: VerifyFailedException - if verification fails |
verifyReceivedQueueMessageNotAcknowledged | public void verifyReceivedQueueMessageNotAcknowledged(int indexOfSession, int indexOfQueue, int indexOfMessage)(Code) | | Verifies that a received by a temporary queue is not acknowledged.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfQueue - the index of the temporary queue Parameters: indexOfMessage - the index of the received message throws: VerifyFailedException - if verification fails |
verifyReceivedTopicMessageAcknowledged | public void verifyReceivedTopicMessageAcknowledged(String nameOfTopic, int indexOfMessage)(Code) | | Verifies that a received message is acknowledged.
Parameters: nameOfTopic - the name of the topic Parameters: indexOfMessage - the index of the received message throws: VerifyFailedException - if verification fails |
verifyReceivedTopicMessageAcknowledged | public void verifyReceivedTopicMessageAcknowledged(int indexOfSession, int indexOfTopic, int indexOfMessage)(Code) | | Verifies that a message received by a temporary topic is acknowledged.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfTopic - the index of the temporary topic Parameters: indexOfMessage - the index of the received message throws: VerifyFailedException - if verification fails |
verifyReceivedTopicMessageEquals | public void verifyReceivedTopicMessageEquals(String nameOfTopic, int indexOfSourceMessage, MockMessage targetMessage)(Code) | | Verifies that a received message is equal to the specified message
by calling the equals() method.
All mock messages provide a suitable implementation of equals() .
Parameters: nameOfTopic - the name of the topic Parameters: indexOfSourceMessage - the index of the received message Parameters: targetMessage - the message that will be used for comparison throws: VerifyFailedException - if verification fails |
verifyReceivedTopicMessageEquals | public void verifyReceivedTopicMessageEquals(int indexOfSession, int indexOfTopic, int indexOfSourceMessage, MockMessage targetMessage)(Code) | | Verifies that a message received by a temporary topic is equal to the specified message
by calling the equals() method.
All mock messages provide a suitable implementation of equals() .
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfTopic - the index of the temporary topic Parameters: indexOfSourceMessage - the index of the received message Parameters: targetMessage - the message that will be used for comparison throws: VerifyFailedException - if verification fails |
verifyReceivedTopicMessageNotAcknowledged | public void verifyReceivedTopicMessageNotAcknowledged(String nameOfTopic, int indexOfMessage)(Code) | | Verifies that a received message is not acknowledged.
Parameters: nameOfTopic - the name of the topic Parameters: indexOfMessage - the index of the received message throws: VerifyFailedException - if verification fails |
verifyReceivedTopicMessageNotAcknowledged | public void verifyReceivedTopicMessageNotAcknowledged(int indexOfSession, int indexOfTopic, int indexOfMessage)(Code) | | Verifies that a message received by a temporary topic is not acknowledged.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfTopic - the index of the temporary topic Parameters: indexOfMessage - the index of the received message throws: VerifyFailedException - if verification fails |
verifySessionClosed | public void verifySessionClosed(int indexOfSession)(Code) | | Verifies that the session with the specified index is
closed.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifySessionCommitted | public void verifySessionCommitted(int indexOfSession)(Code) | | Verifies that the session with the specified index was
committed.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifySessionNotCommitted | public void verifySessionNotCommitted(int indexOfSession)(Code) | | Verifies that the session with the specified index was
not committed.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifySessionNotRecovered | public void verifySessionNotRecovered(int indexOfSession)(Code) | | Verifies that the session with the specified index was
not recovered.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifySessionNotRolledBack | public void verifySessionNotRolledBack(int indexOfSession)(Code) | | Verifies that the session with the specified index was
not rolled back.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifySessionNumberCommits | public void verifySessionNumberCommits(int indexOfSession, int numberOfCommits)(Code) | | Verifies the number of commits of session with the specified index.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: numberOfCommits - the expected number of commits throws: VerifyFailedException - if verification fails |
verifySessionNumberRollbacks | public void verifySessionNumberRollbacks(int indexOfSession, int numberOfRollbacks)(Code) | | Verifies the number of rollbacks of session with the specified index.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session Parameters: numberOfRollbacks - the expected number of rollbacks throws: VerifyFailedException - if verification fails |
verifySessionRecovered | public void verifySessionRecovered(int indexOfSession)(Code) | | Verifies that the session with the specified index was
recovered.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifySessionRolledBack | public void verifySessionRolledBack(int indexOfSession)(Code) | | Verifies that the session with the specified index was
rolled back.
The session has to be created using the current
MockConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyTemporaryQueueDeleted | public void verifyTemporaryQueueDeleted(int indexOfSession, int indexOfQueue)(Code) | | Verifies that the temporary queue with the specified index
was deleted.
The session has to be created using the current
MockQueueConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfQueue - the index of the queue throws: VerifyFailedException - if verification fails |
verifyTemporaryTopicDeleted | public void verifyTemporaryTopicDeleted(int indexOfSession, int indexOfTopic)(Code) | | Verifies that the temporary topic with the specified index
was closed.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: indexOfTopic - the index of the topic throws: VerifyFailedException - if verification fails |
verifyTopicPublisherClosed | public void verifyTopicPublisherClosed(int indexOfSession, String topicName, int indexOfPublisher)(Code) | | Verifies that the specified publisher is closed.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: topicName - the name of the topic Parameters: indexOfPublisher - the index of the publisher throws: VerifyFailedException - if verification fails |
verifyTopicSessionClosed | public void verifyTopicSessionClosed(int indexOfSession)(Code) | | Verifies that the topic session with the specified index is
closed.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyTopicSessionCommitted | public void verifyTopicSessionCommitted(int indexOfSession)(Code) | | Verifies that the topic session with the specified index was
committed.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyTopicSessionNotCommitted | public void verifyTopicSessionNotCommitted(int indexOfSession)(Code) | | Verifies that the topic session with the specified index was
not committed.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyTopicSessionNotRecovered | public void verifyTopicSessionNotRecovered(int indexOfSession)(Code) | | Verifies that the topic session with the specified index was
not recovered.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyTopicSessionNotRolledBack | public void verifyTopicSessionNotRolledBack(int indexOfSession)(Code) | | Verifies that the topic session with the specified index was
not rolled back.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyTopicSessionNumberCommits | public void verifyTopicSessionNumberCommits(int indexOfSession, int numberOfCommits)(Code) | | Verifies the number of commits of the topic session with the specified index.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: numberOfCommits - the expected number of commits throws: VerifyFailedException - if verification fails |
verifyTopicSessionNumberRollbacks | public void verifyTopicSessionNumberRollbacks(int indexOfSession, int numberOfRollbacks)(Code) | | Verifies the number of rollbacks of the topic session with the specified index.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: numberOfRollbacks - the expected number of rollbacks throws: VerifyFailedException - if verification fails |
verifyTopicSessionRecovered | public void verifyTopicSessionRecovered(int indexOfSession)(Code) | | Verifies that the topic session with the specified index was
recovered.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyTopicSessionRolledBack | public void verifyTopicSessionRolledBack(int indexOfSession)(Code) | | Verifies that the topic session with the specified index was
rolled back.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session throws: VerifyFailedException - if verification fails |
verifyTopicSubscriberClosed | public void verifyTopicSubscriberClosed(int indexOfSession, String topicName, int indexOfSubscriber)(Code) | | Verifies that the specified subscriber is closed.
The session has to be created using the current
MockTopicConnection .
Parameters: indexOfSession - the index of the session Parameters: topicName - the name of the topic Parameters: indexOfSubscriber - the index of the receiver throws: VerifyFailedException - if verification fails |
|
|