|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mockrunner.mock.jms.MockDestination com.mockrunner.mock.jms.MockTopic
public class MockTopic
Mock implementation of JMS Topic
.
Constructor Summary | |
---|---|
MockTopic(java.lang.String name)
|
Method Summary | |
---|---|
void |
addMessage(javax.jms.Message message)
Adds a message to this Topic that will
be propagated to the corresponding receivers. |
java.lang.String |
getTopicName()
|
Methods inherited from class com.mockrunner.mock.jms.MockDestination |
---|
acknowledgeMessage, addCurrentMessage, addReceivedMessage, addSession, clear, getCurrentMessageList, getMatchingMessage, getMessage, getReceivedMessageList, isEmpty, loadMessage, removeSession, reset, sessionSet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jms.Topic |
---|
toString |
Constructor Detail |
---|
public MockTopic(java.lang.String name)
Method Detail |
---|
public java.lang.String getTopicName() throws javax.jms.JMSException
getTopicName
in interface javax.jms.Topic
javax.jms.JMSException
public void addMessage(javax.jms.Message message) throws javax.jms.JMSException
Topic
that will
be propagated to the corresponding receivers.
addMessage
in class MockDestination
message
- the message
javax.jms.JMSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |