|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.messaging.jms.client.JBossMessage
org.jboss.messaging.jms.client.JBossTextMessage
public class JBossTextMessage
This class implements javax.jms.TextMessage ported from SpyTextMessage in JBossMQ.
| Field Summary | |
|---|---|
static Logger |
log
|
static byte |
TYPE
|
| Fields inherited from class org.jboss.messaging.jms.client.JBossMessage |
|---|
body, JBOSS_MESSAGING_BRIDGE_MESSAGE_ID_LIST, message, readOnly |
| Fields inherited from interface javax.jms.Message |
|---|
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
| Constructor Summary | |
|---|---|
JBossTextMessage()
|
|
JBossTextMessage(ClientMessage message,
ClientSession session)
|
|
JBossTextMessage(javax.jms.TextMessage foreign)
A copy constructor for non-JBoss Messaging JMS TextMessages. |
|
| Method Summary | |
|---|---|
void |
clearBody()
|
void |
doBeforeReceive()
|
void |
doBeforeSend()
|
java.lang.String |
getText()
|
byte |
getType()
|
void |
setText(java.lang.String text)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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 static final byte TYPE
public static final Logger log
| Constructor Detail |
|---|
public JBossTextMessage()
public JBossTextMessage(ClientMessage message,
ClientSession session)
public JBossTextMessage(javax.jms.TextMessage foreign)
throws javax.jms.JMSException
javax.jms.JMSException| Method Detail |
|---|
public byte getType()
getType in class JBossMessage
public void setText(java.lang.String text)
throws javax.jms.JMSException
setText in interface javax.jms.TextMessagejavax.jms.JMSException
public java.lang.String getText()
throws javax.jms.JMSException
getText in interface javax.jms.TextMessagejavax.jms.JMSException
public void clearBody()
throws javax.jms.JMSException
clearBody in interface javax.jms.MessageclearBody in class JBossMessagejavax.jms.JMSException
public void doBeforeSend()
throws java.lang.Exception
doBeforeSend in class JBossMessagejava.lang.Exception
public void doBeforeReceive()
throws java.lang.Exception
doBeforeReceive in class JBossMessagejava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||