com.latencybusters.jms.message
Class JMSMapMessage

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

public class JMSMapMessage
extends JMSMessage


Field Summary
 java.util.HashMap<java.lang.String,java.lang.Object> map
           
 
Fields inherited from class com.latencybusters.jms.message.JMSMessage
data, dataMsg, DEFAULT_LENGTH, GROUP_ID, GROUP_SEQ, header
 
Constructor Summary
JMSMapMessage()
           
JMSMapMessage(com.latencybusters.lbm.LBMMessageProperties props, byte[] data)
           
JMSMapMessage(com.latencybusters.lbm.LBMMessageProperties props, byte[] data, boolean readOnly, boolean readOnlyProps)
           
 
Method Summary
 void clearBody()
           
 JMSMapMessage copy()
           
 long getBodyLength()
           
 boolean getBoolean(java.lang.String name)
           
 byte getByte(java.lang.String name)
           
 byte[] getBytes(java.lang.String name)
           
 char getChar(java.lang.String name)
           
 byte[] getData()
           
 double getDouble(java.lang.String name)
           
 float getFloat(java.lang.String name)
           
 int getInt(java.lang.String name)
           
 long getLong(java.lang.String name)
           
 java.util.Enumeration getMapNames()
           
 int getMessageType()
           
 java.lang.Object getObject(java.lang.String name)
           
 short getShort(java.lang.String name)
           
 java.lang.String getString(java.lang.String name)
           
 boolean itemExists(java.lang.String name)
           
static void main(java.lang.String[] args)
           
 void setBoolean(java.lang.String name, boolean value)
           
 void setByte(java.lang.String name, byte value)
           
 void setBytes(java.lang.String name, byte[] value)
           
 void setBytes(java.lang.String name, byte[] value, int offset, int length)
           
 void setChar(java.lang.String name, char value)
           
 void setData(byte[] d)
           
 void setDouble(java.lang.String name, double value)
           
 void setFloat(java.lang.String name, float value)
           
 void setInt(java.lang.String name, int value)
           
 void setLong(java.lang.String name, long value)
           
 void setObject(java.lang.String name, java.lang.Object value)
           
 void setShort(java.lang.String name, short value)
           
 void setString(java.lang.String name, java.lang.String value)
           
 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, getJMSXMimeType, getListener, getLongProperty, getObjectProperty, getPropertyNames, getProps, getRefCount, getShortProperty, getStringProperty, getTopicName, isExpired, isReadOnly, isReadOnlyProps, isShouldAck, isValid, logProps, 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

map

public java.util.HashMap<java.lang.String,java.lang.Object> map
Constructor Detail

JMSMapMessage

public JMSMapMessage()

JMSMapMessage

public JMSMapMessage(com.latencybusters.lbm.LBMMessageProperties props,
                     byte[] data)

JMSMapMessage

public JMSMapMessage(com.latencybusters.lbm.LBMMessageProperties props,
                     byte[] data,
                     boolean readOnly,
                     boolean readOnlyProps)
Method Detail

getData

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

copy

public JMSMapMessage copy()
Overrides:
copy in class JMSMessage

setData

public void setData(byte[] d)
             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

getBodyLength

public long getBodyLength()
Overrides:
getBodyLength in class JMSMessage

getBoolean

public boolean getBoolean(java.lang.String name)
                   throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getByte

public byte getByte(java.lang.String name)
             throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getBytes

public byte[] getBytes(java.lang.String name)
                throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getChar

public char getChar(java.lang.String name)
             throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getDouble

public double getDouble(java.lang.String name)
                 throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getFloat

public float getFloat(java.lang.String name)
               throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getInt

public int getInt(java.lang.String name)
           throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getLong

public long getLong(java.lang.String name)
             throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getMapNames

public java.util.Enumeration getMapNames()

getObject

public java.lang.Object getObject(java.lang.String name)
                           throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getShort

public short getShort(java.lang.String name)
               throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getString

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

itemExists

public boolean itemExists(java.lang.String name)
                   throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setBoolean

public void setBoolean(java.lang.String name,
                       boolean value)
                throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setByte

public void setByte(java.lang.String name,
                    byte value)
             throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setBytes

public void setBytes(java.lang.String name,
                     byte[] value)
              throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setBytes

public void setBytes(java.lang.String name,
                     byte[] value,
                     int offset,
                     int length)
              throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setChar

public void setChar(java.lang.String name,
                    char value)
             throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setDouble

public void setDouble(java.lang.String name,
                      double value)
               throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setFloat

public void setFloat(java.lang.String name,
                     float value)
              throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setInt

public void setInt(java.lang.String name,
                   int value)
            throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setLong

public void setLong(java.lang.String name,
                    long value)
             throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setObject

public void setObject(java.lang.String name,
                      java.lang.Object value)
               throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setShort

public void setShort(java.lang.String name,
                     short value)
              throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setString

public void setString(java.lang.String name,
                      java.lang.String value)
               throws javax.jms.JMSException
Throws:
javax.jms.JMSException

toString

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

main

public static final void main(java.lang.String[] args)

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.