public class ActiveMQMapMessage extends ActiveMQMessage
| Modifier and Type | Field and Description |
|---|---|
static byte |
DATA_STRUCTURE_TYPE |
protected Map<String,Object> |
map |
arrival, brokerInTime, brokerOutTime, cachedEncoding, compressed, content, correlationId, dataStructure, DEFAULT_MINIMUM_MESSAGE_SIZE, destination, droppable, encodedSize, expiration, groupID, groupSequence, marshalledProperties, messageId, originalDestination, originalTransactionId, persistent, priority, producerId, properties, readOnlyBody, readOnlyProperties, recievedByDFBridge, redeliveryCounter, replyTo, size, targetConsumerId, timestamp, transactionId, type, userIDcommandId, responseRequired| Constructor and Description |
|---|
ActiveMQMapMessage() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeMarshall(OpenWireFormat wireFormat) |
void |
clearBody() |
void |
clearMarshalledState() |
Message |
copy() |
boolean |
getBoolean(String name) |
byte |
getByte(String name) |
byte[] |
getBytes(String name) |
char |
getChar(String name) |
Map<String,Object> |
getContentMap() |
byte |
getDataStructureType() |
double |
getDouble(String name) |
float |
getFloat(String name) |
int |
getInt(String name) |
String |
getJMSXMimeType() |
long |
getLong(String name) |
Enumeration<String> |
getMapNames() |
Object |
getObject(String name) |
short |
getShort(String name) |
String |
getString(String name) |
boolean |
itemExists(String name) |
protected void |
put(String name,
Object value) |
void |
setBoolean(String name,
boolean value) |
void |
setByte(String name,
byte value) |
void |
setBytes(String name,
byte[] value) |
void |
setBytes(String name,
byte[] value,
int offset,
int length) |
void |
setChar(String name,
char value) |
void |
setDouble(String name,
double value) |
void |
setFloat(String name,
float value) |
void |
setInt(String name,
int value) |
void |
setLong(String name,
long value) |
void |
setObject(String name,
Object value) |
void |
setShort(String name,
short value) |
void |
setString(String name,
String value) |
String |
toString() |
checkReadOnlyBody, checkValidObject, clearProperties, copy, equals, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, hashCode, isExpired, onSend, propertyExists, setBooleanProperty, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setObjectProperty, setShortProperty, setStringPropertyafterMarshall, afterUnmarshall, beforeUnmarshall, copy, decrementReferenceCount, getArrival, getBrokerInTime, getBrokerOutTime, getBrokerPath, getCachedEncoding, getCluster, getContent, getCorrelationId, getDataStructure, getDestination, getEncodedSize, getExpiration, getGroupID, getGroupSequence, getMarshalledProperties, getMessage, getMessageHardRef, getMessageId, getMinimumMessageSize, getOriginalDestination, getOriginalTransactionId, getPriority, getProducerId, getProperties, getProperty, getRedeliveryCounter, getReferenceCount, getReplyTo, getSize, getTargetConsumerId, getTimestamp, getTransactionId, getType, getUserID, incrementRedeliveryCounter, incrementReferenceCount, isAdvisory, isCompressed, isDroppable, isDropped, isInTransaction, isMarshallAware, isMessage, isPersistent, isReadOnlyBody, isReadOnlyProperties, isRecievedByDFBridge, isRedelivered, lazyCreateProperties, onMessageRolledBack, setArrival, setBrokerInTime, setBrokerOutTime, setBrokerPath, setCachedEncoding, setCluster, setCompressed, setContent, setCorrelationId, setDataStructure, setDestination, setDroppable, setEncodedSize, setExpiration, setGroupID, setGroupSequence, setMarshalledProperties, setMessageId, setOriginalDestination, setOriginalTransactionId, setPersistent, setPriority, setProducerId, setProperty, setReadOnlyBody, setReadOnlyProperties, setRecievedByDFBridge, setRedelivered, setRedeliveryCounter, setReplyTo, setTargetConsumerId, setTimestamp, setTransactionId, setType, setUserID, toStringcopy, getCommandId, isBrokerInfo, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setResponseRequiredpublic static final byte DATA_STRUCTURE_TYPE
public Message copy()
copy in class ActiveMQMessagepublic void beforeMarshall(OpenWireFormat wireFormat) throws IOException
beforeMarshall in interface MarshallAwarebeforeMarshall in class MessageIOExceptionpublic void clearMarshalledState()
clearMarshalledState in class Messagepublic byte getDataStructureType()
getDataStructureType in interface DataStructuregetDataStructureType in class ActiveMQMessagepublic String getJMSXMimeType()
public void clearBody()
throws OpenwireException
clearBody in class ActiveMQMessageOpenwireExceptionpublic boolean getBoolean(String name) throws OpenwireException
OpenwireExceptionpublic byte getByte(String name) throws OpenwireException
OpenwireExceptionpublic short getShort(String name) throws OpenwireException
OpenwireExceptionpublic char getChar(String name) throws OpenwireException
OpenwireExceptionpublic int getInt(String name) throws OpenwireException
OpenwireExceptionpublic long getLong(String name) throws OpenwireException
OpenwireExceptionpublic float getFloat(String name) throws OpenwireException
OpenwireExceptionpublic double getDouble(String name) throws OpenwireException
OpenwireExceptionpublic String getString(String name) throws OpenwireException
OpenwireExceptionpublic byte[] getBytes(String name) throws OpenwireException
OpenwireExceptionpublic Object getObject(String name) throws OpenwireException
OpenwireExceptionpublic Enumeration<String> getMapNames() throws OpenwireException
OpenwireExceptionprotected void put(String name, Object value) throws OpenwireException
OpenwireExceptionpublic void setBoolean(String name, boolean value) throws OpenwireException
OpenwireExceptionpublic void setByte(String name, byte value) throws OpenwireException
OpenwireExceptionpublic void setShort(String name, short value) throws OpenwireException
OpenwireExceptionpublic void setChar(String name, char value) throws OpenwireException
OpenwireExceptionpublic void setInt(String name, int value) throws OpenwireException
OpenwireExceptionpublic void setLong(String name, long value) throws OpenwireException
OpenwireExceptionpublic void setFloat(String name, float value) throws OpenwireException
OpenwireExceptionpublic void setDouble(String name, double value) throws OpenwireException
OpenwireExceptionpublic void setString(String name, String value) throws OpenwireException
OpenwireExceptionpublic void setBytes(String name, byte[] value) throws OpenwireException
OpenwireExceptionpublic void setBytes(String name, byte[] value, int offset, int length) throws OpenwireException
OpenwireExceptionpublic void setObject(String name, Object value) throws OpenwireException
OpenwireExceptionpublic boolean itemExists(String name) throws OpenwireException
OpenwireExceptionpublic Map<String,Object> getContentMap() throws OpenwireException
OpenwireExceptionCopyright © 2011–2014 Red Hat. All rights reserved.