public class AmqpJmsMapMessageFacade extends AmqpJmsMessageFacade implements JmsMapMessageFacade
connection| Constructor and Description |
|---|
AmqpJmsMapMessageFacade() |
| Modifier and Type | Method and Description |
|---|---|
JmsMapMessage |
asJmsMessage() |
void |
clearBody()
Clears the contents of this Message.
|
AmqpJmsMapMessageFacade |
copy()
Create a new instance and perform a deep copy of this object's
contents.
|
Object |
get(String key)
Gets the value stored in the Map at the specified key.
|
byte |
getJmsMsgType() |
Enumeration<String> |
getMapNames()
Returns an Enumeration of all the names in the MapMessage object.
|
boolean |
hasBody()
Returns true if the underlying message has a body, false if the body is empty.
|
protected void |
initializeEmptyBody()
Used to indicate that a Message object should empty the body element and make
any other internal updates to reflect the message now has no body value.
|
boolean |
itemExists(String key)
Determines whether an item exists in this Map based message.
|
void |
put(String key,
Object value)
Sets an object value with the specified name into the Map.
|
Object |
remove(String key)
Remove the mapping for this key from the map if present.
|
applicationPropertyExists, clearProperties, copyInto, encodeMessage, filterTracingAnnotations, getAmqpTimeToLiveOverride, getApplicationProperty, getApplicationPropertyNames, getContentType, getCorrelationId, getCorrelationIdBytes, getDeliveryCount, getDeliveryTime, getDestination, getExpiration, getGroupId, getGroupSequence, getMessageId, getPriority, getProperty, getPropertyNames, getProviderMessageIdObject, getRedeliveryCount, getReplyTo, getReplyToGroupId, getTimestamp, getTracingAnnotation, getTracingContext, getType, getUserId, getUserIdBytes, hasAmqpTimeToLiveOverride, initialize, initialize, isDeliveryTimeTransmitted, isPersistent, isRedelivered, onDispatch, onSend, propertyExists, removeTracingAnnotation, removeTracingContext, setAmqpTimeToLiveOverride, setApplicationProperty, setContentType, setCorrelationId, setCorrelationIdBytes, setDeliveryCount, setDeliveryTime, setDestination, setExpiration, setGroupId, setGroupSequence, setMessageId, setPersistent, setPriority, setProperty, setProviderMessageIdObject, setRedelivered, setRedeliveryCount, setReplyTo, setReplyToGroupId, setTimestamp, setTracingAnnotation, setTracingContext, setType, setUserId, setUserIdBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, encodeMessage, getCorrelationId, getCorrelationIdBytes, getDeliveryCount, getDeliveryTime, getDestination, getExpiration, getGroupId, getGroupSequence, getMessageId, getPriority, getProperty, getPropertyNames, getProviderMessageIdObject, getRedeliveryCount, getReplyTo, getTimestamp, getType, getUserId, getUserIdBytes, isDeliveryTimeTransmitted, isPersistent, isRedelivered, onDispatch, onSend, propertyExists, setCorrelationId, setCorrelationIdBytes, setDeliveryCount, setDeliveryTime, setDestination, setExpiration, setGroupId, setGroupSequence, setMessageId, setPersistent, setPriority, setProperty, setProviderMessageIdObject, setRedelivered, setRedeliveryCount, setReplyTo, setTimestamp, setType, setUserId, setUserIdBytesfilterTracingAnnotations, getTracingAnnotation, getTracingContext, removeTracingAnnotation, removeTracingContext, setTracingAnnotation, setTracingContextpublic byte getJmsMsgType()
getJmsMsgType in class AmqpJmsMessageFacadepublic AmqpJmsMapMessageFacade copy()
JmsMessageFacadecopy in interface JmsMapMessageFacadecopy in interface JmsMessageFacadecopy in class AmqpJmsMessageFacadepublic Enumeration<String> getMapNames()
JmsMapMessageFacadegetMapNames in interface JmsMapMessageFacadepublic boolean itemExists(String key)
JmsMapMessageFacadeitemExists in interface JmsMapMessageFacadekey - The entry key that is being searched for.public Object get(String key)
JmsMapMessageFacadeget in interface JmsMapMessageFacadekey - the key to use to access a value in the Map.public void put(String key, Object value)
JmsMapMessageFacadeput in interface JmsMapMessageFacadekey - the key to use to store the value into the Map.value - the new value to store in the element defined by the key.public Object remove(String key)
JmsMapMessageFacaderemove in interface JmsMapMessageFacadekey - the key to be removed from the map if present.public void clearBody()
JmsMessageFacadeclearBody in interface JmsMessageFacadeclearBody in class AmqpJmsMessageFacadepublic boolean hasBody()
JmsMessageFacadehasBody in interface JmsMessageFacadehasBody in class AmqpJmsMessageFacadepublic JmsMapMessage asJmsMessage()
asJmsMessage in class AmqpJmsMessageFacadeprotected void initializeEmptyBody()
AmqpJmsMessageFacadeinitializeEmptyBody in class AmqpJmsMessageFacadeCopyright © 2013–2019 The Apache Software Foundation. All rights reserved.