|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stringtree.mock.RecordingMock
org.stringtree.mock.jms.RecordingMockMessage
org.stringtree.mock.jms.MockTextMessage
public class MockTextMessage
Field Summary | |
---|---|
java.lang.String |
text
|
Fields inherited from class org.stringtree.mock.jms.RecordingMockMessage |
---|
correlationID, correlationIDAsBytes, deliveryMode, destination, expiration, jMSReplyTo, messageID, priority, properties, redelivered, timestamp, type |
Fields inherited from class org.stringtree.mock.RecordingMock |
---|
exception, recorded, verbose |
Fields inherited from interface javax.jms.Message |
---|
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
Constructor Summary | |
---|---|
MockTextMessage()
|
|
MockTextMessage(java.lang.String text)
|
|
MockTextMessage(java.lang.String text,
java.lang.String id)
|
Method Summary | |
---|---|
void |
clearBody()
|
java.lang.String |
getText()
|
void |
setText(java.lang.String text)
|
Methods inherited from class org.stringtree.mock.RecordingMock |
---|
assertCalled, assertCalled, assertCalled, assertCalled, assertNotCalled, assertNotCalled, clear, record, record, record, setException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jms.Message |
---|
acknowledge, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty |
Field Detail |
---|
public java.lang.String text
Constructor Detail |
---|
public MockTextMessage(java.lang.String text, java.lang.String id)
public MockTextMessage(java.lang.String text)
public MockTextMessage()
Method Detail |
---|
public void setText(java.lang.String text) throws javax.jms.JMSException
setText
in interface javax.jms.TextMessage
javax.jms.JMSException
public java.lang.String getText() throws javax.jms.JMSException
getText
in interface javax.jms.TextMessage
javax.jms.JMSException
public void clearBody() throws javax.jms.JMSException
clearBody
in interface javax.jms.Message
javax.jms.JMSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |