|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.messaging.core.impl.message.MessageSupport
org.jboss.jms.message.JBossMessage
org.jboss.jms.message.JBossTextMessage
public class JBossTextMessage
This class implements javax.jms.TextMessage ported from SpyTextMessage in JBossMQ.
Field Summary | |
---|---|
static byte |
TYPE
|
Fields inherited from class org.jboss.jms.message.JBossMessage |
---|
connectionID, JBOSS_MESSAGING_ACTUAL_EXPIRY_TIME, JBOSS_MESSAGING_BRIDGE_MESSAGE_ID_LIST, JBOSS_MESSAGING_ORIG_DESTINATION, JBOSS_MESSAGING_ORIG_DESTINATION_SUCKER, JBOSS_MESSAGING_ORIG_MESSAGE_ID, JMS_JBOSS_SCHEDULED_DELIVERY_PROP_NAME |
Fields inherited from class org.jboss.messaging.core.impl.message.MessageSupport |
---|
expiration, headers, messageID, payload, payloadAsByteArray, priority, reliable, timestamp |
Fields inherited from interface javax.jms.Message |
---|
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
Fields inherited from interface org.jboss.messaging.core.contract.Message |
---|
CLUSTER_SUCKED, SOURCE_CHANNEL_ID |
Constructor Summary | |
---|---|
JBossTextMessage()
Only deserialization should use this constructor directory |
|
JBossTextMessage(JBossTextMessage other)
Make a shallow copy of another JBossTextMessage |
|
JBossTextMessage(long messageID)
|
|
JBossTextMessage(long messageID,
boolean reliable,
long expiration,
long timestamp,
byte priority,
java.util.Map coreHeaders,
byte[] payloadAsByteArray)
|
|
JBossTextMessage(javax.jms.TextMessage foreign,
long id)
A copy constructor for non-JBoss Messaging JMS TextMessages. |
Method Summary | |
---|---|
JBossMessage |
doCopy()
|
java.lang.String |
getText()
|
byte |
getType()
|
void |
setText(java.lang.String string)
|
Methods inherited from class org.jboss.messaging.core.impl.message.MessageSupport |
---|
containsHeader, createReference, doWriteObject, equals, getExpiration, getHeader, getMessageID, getPayload, getPayloadAsByteArray, getPriority, getTimestamp, hashCode, isExpired, isPersisted, isReliable, putHeader, readPayload, removeHeader, setExpiration, setPayload, setPersisted, setPriority |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jms.Message |
---|
acknowledge, clearBody, 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 static final byte TYPE
Constructor Detail |
---|
public JBossTextMessage()
public JBossTextMessage(long messageID)
public JBossTextMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, java.util.Map coreHeaders, byte[] payloadAsByteArray)
public JBossTextMessage(JBossTextMessage other)
other
- public JBossTextMessage(javax.jms.TextMessage foreign, long id) throws javax.jms.JMSException
javax.jms.JMSException
Method Detail |
---|
public byte getType()
getType
in interface Message
getType
in class JBossMessage
public void setText(java.lang.String string) 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 JBossMessage doCopy()
doCopy
in class JBossMessage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |