com.latencybusters.jms.message
Class LBMTextMessage

java.lang.Object
  extended by com.latencybusters.jms.message.LBMMessage
      extended by com.latencybusters.jms.message.LBMTextMessage
All Implemented Interfaces:
javax.jms.Message, javax.jms.TextMessage

public class LBMTextMessage
extends LBMMessage
implements javax.jms.TextMessage


Field Summary
 
Fields inherited from class com.latencybusters.jms.message.LBMMessage
BYTEMESSAGE, m, MAPMESSAGE, MESSAGE, OBJECTMESSAGE, STREAMMESSAGE, TEXTMESSAGE
 
Fields inherited from interface javax.jms.Message
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
Constructor Summary
LBMTextMessage()
           
LBMTextMessage(JMSTextMessage m)
           
LBMTextMessage(com.latencybusters.lbm.LBMMessageProperties props, byte[] data)
           
LBMTextMessage(java.lang.String text)
           
 
Method Summary
 void clearBody()
           
 LBMMessage copy()
           
 long getBodyLength()
           
 byte[] getData()
           
 java.lang.String getJMSXMimeType()
           
 int getMessageType()
           
 java.lang.String getText()
           
 void setText(java.lang.String text)
           
 java.lang.String toString()
           
 
Methods inherited from class com.latencybusters.jms.message.LBMMessage
ack, acknowledge, checkReadOnlyBody, checkRef, clearProperties, dispatch, dumpProps, equals, getBooleanProperty, getByteProperty, getConsumer, getDataMsg, getDefaultDeliveryMode, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getProps, getRefCount, getShortProperty, getStringProperty, getTopicName, isExpired, isReadOnly, isShouldAck, logProps, onSend, propertyExists, reAssign, setAcknowledgeCallback, setAcknowledgeMode, setBooleanProperty, setBooleanProperty, setByteProperty, setConsumer, setDataMsg, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setListener, setLongProperty, setObjectProperty, setObjectProperty, setProperties, setReadOnly, setRefCount, setShortProperty, setShouldAck, setStringProperty, setTopicname
 
Methods inherited from class java.lang.Object
clone, 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
 

Constructor Detail

LBMTextMessage

public LBMTextMessage()

LBMTextMessage

public LBMTextMessage(JMSTextMessage m)

LBMTextMessage

public LBMTextMessage(com.latencybusters.lbm.LBMMessageProperties props,
                      byte[] data)
               throws javax.jms.JMSException
Throws:
javax.jms.JMSException

LBMTextMessage

public LBMTextMessage(java.lang.String text)
Method Detail

getMessageType

public int getMessageType()
Overrides:
getMessageType in class LBMMessage

getData

public byte[] getData()
Overrides:
getData in class LBMMessage

getBodyLength

public long getBodyLength()
Overrides:
getBodyLength in class LBMMessage

copy

public LBMMessage copy()
Overrides:
copy in class LBMMessage

getJMSXMimeType

public java.lang.String getJMSXMimeType()
Overrides:
getJMSXMimeType in class LBMMessage

setText

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

getText

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

clearBody

public void clearBody()
               throws javax.jms.JMSException
Specified by:
clearBody in interface javax.jms.Message
Overrides:
clearBody in class LBMMessage
Throws:
javax.jms.JMSException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


All of the documentation and software included in this and any other Informatica, Inc. "Ultra Messaging" Release is Copyright (C) 2004-2014, Informatica Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted only as covered by the terms of a valid software license agreement with Informatica Inc. Copyright © 2004-2014, Informatica, Inc. All Rights Reserved.