public class MockTextMessage extends MockMessage implements javax.jms.TextMessage
TextMessage.| Constructor and Description |
|---|
MockTextMessage() |
MockTextMessage(java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearBody() |
boolean |
equals(java.lang.Object otherObject)
Compares the underlying String.
|
java.lang.String |
getText() |
int |
hashCode() |
void |
setText(java.lang.String text) |
java.lang.String |
toString() |
acknowledge, clearProperties, clone, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, isAcknowledged, isInWriteMode, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setReadOnly, setReadOnlyProperties, setShortProperty, setStringPropertyfinalize, getClass, notify, notifyAll, wait, wait, waitacknowledge, 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, setStringPropertypublic MockTextMessage()
public MockTextMessage(java.lang.String text)
public void setText(java.lang.String text)
throws javax.jms.JMSException
setText in interface javax.jms.TextMessagejavax.jms.JMSExceptionpublic java.lang.String getText()
throws javax.jms.JMSException
getText in interface javax.jms.TextMessagejavax.jms.JMSExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void clearBody()
throws javax.jms.JMSException
clearBody in interface javax.jms.MessageclearBody in class MockMessagejavax.jms.JMSExceptionpublic boolean equals(java.lang.Object otherObject)
null, this
method returns true.equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2003-2014. All Rights Reserved.