com.latencybusters.jms.message
Class JMSTextMessage

java.lang.Object
  extended by com.latencybusters.jms.message.JMSMessage
      extended by com.latencybusters.jms.message.JMSTextMessage

public class JMSTextMessage
extends JMSMessage


Field Summary
protected  java.lang.String text
           
 
Fields inherited from class com.latencybusters.jms.message.JMSMessage
data, dataMsg, DEFAULT_LENGTH, GROUP_ID, GROUP_SEQ, header
 
Constructor Summary
JMSTextMessage()
           
JMSTextMessage(com.latencybusters.lbm.LBMMessageProperties props, byte[] data)
           
JMSTextMessage(com.latencybusters.lbm.LBMMessageProperties props, byte[] data, boolean readOnly, boolean readOnlyProps)
           
JMSTextMessage(java.lang.String text)
           
 
Method Summary
 void clearBody()
           
 JMSTextMessage 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.JMSMessage
ack, acknowledge, checkReadOnlyBody, checkValidObject, clearProperties, copy, copyProps, dumpProps, equals, getAcked, getAcknowledgeMode, getBooleanProperty, getByteProperty, getConsumer, getDataMsg, getDefaultDeliveryMode, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getListener, getLongProperty, getObjectProperty, getPropertyNames, getProps, getRefCount, getShortProperty, getStringProperty, getTopicName, isExpired, isReadOnly, isReadOnlyProps, isShouldAck, isValid, logProps, main, onSend, propertyExists, reAssign, setAcked, 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, setReadOnlyProps, setRefCount, setShortProperty, setShouldAck, setStringProperty, setTopicname, verifySet
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

text

protected java.lang.String text
Constructor Detail

JMSTextMessage

public JMSTextMessage()

JMSTextMessage

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

JMSTextMessage

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

JMSTextMessage

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

getData

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

getBodyLength

public long getBodyLength()
Overrides:
getBodyLength in class JMSMessage

copy

public JMSTextMessage copy()
Overrides:
copy in class JMSMessage

getJMSXMimeType

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

setText

public void setText(java.lang.String text)
             throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getText

public java.lang.String getText()
                         throws javax.jms.JMSException
Throws:
javax.jms.JMSException

clearBody

public void clearBody()
               throws javax.jms.JMSException
Overrides:
clearBody in class JMSMessage
Throws:
javax.jms.JMSException

toString

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

getMessageType

public int getMessageType()
Overrides:
getMessageType in class JMSMessage


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.