xmlBlaster 2.2.0 API

org.xmlBlaster.jms
Class XBTextMessage

java.lang.Object
  extended by org.xmlBlaster.jms.XBMessage
      extended by org.xmlBlaster.jms.XBTextMessage
All Implemented Interfaces:
javax.jms.Message, javax.jms.TextMessage
Direct Known Subclasses:
XBStreamingMessage

public class XBTextMessage
extends XBMessage
implements javax.jms.TextMessage

XBTextMessage

Author:
Michele Laghi

Field Summary
 
Fields inherited from class org.xmlBlaster.jms.XBMessage
acknowledged, BYTES, content, DEFAULT_TYPE, destination, global, MAP, OBJECT, props, readOnly, session, STREAM, STREAMING, TEXT, type
 
Fields inherited from interface javax.jms.Message
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
Constructor Summary
XBTextMessage(XBSession session, byte[] content)
           
 
Method Summary
 java.lang.String getText()
           
 void setText(java.lang.String text)
           
 
Methods inherited from class org.xmlBlaster.jms.XBMessage
acknowledge, addToKeyAndCheck, checkPropertiesReadOnly, clearBody, clearProperties, get, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, isAcknowledged, propertyExists, setAcknowledged, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setPropertyReadOnly, setReadOnly, setShortProperty, setStringProperty
 
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, 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
 

Constructor Detail

XBTextMessage

public XBTextMessage(XBSession session,
                     byte[] content)
Method Detail

getText

public java.lang.String getText()
                         throws javax.jms.JMSException
Specified by:
getText in interface javax.jms.TextMessage
Throws:
javax.jms.JMSException

setText

public void setText(java.lang.String text)
             throws javax.jms.JMSException
Specified by:
setText in interface javax.jms.TextMessage
Throws:
javax.jms.JMSException

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.