public interface JmsMapMessageFacade extends JmsMessageFacade
Modifier and Type | Method and Description |
---|---|
JmsMapMessageFacade |
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.
|
Enumeration<String> |
getMapNames()
Returns an Enumeration of all the names in the MapMessage object.
|
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.
|
clearBody, clearProperties, getCorrelationId, getCorrelationIdBytes, getDeliveryCount, getDestination, getExpiration, getGroupId, getGroupSequence, getMessageId, getPriority, getProperty, getPropertyNames, getProviderMessageIdObject, getRedeliveryCount, getReplyTo, getTimestamp, getType, getUserId, getUserIdBytes, isPersistent, isRedelivered, onDispatch, onSend, propertyExists, setCorrelationId, setCorrelationIdBytes, setDeliveryCount, setDestination, setExpiration, setGroupId, setGroupSequence, setMessageId, setPersistent, setPriority, setProperty, setProviderMessageIdObject, setRedelivered, setRedeliveryCount, setReplyTo, setTimestamp, setType, setUserId, setUserIdBytes
JmsMapMessageFacade copy() throws javax.jms.JMSException
JmsMessageFacade
copy
in interface JmsMessageFacade
javax.jms.JMSException
- if an error occurs while copying this message.Enumeration<String> getMapNames()
boolean itemExists(String key)
key
- The entry key that is being searched for.Object get(String key)
key
- the key to use to access a value in the Map.void put(String key, Object value)
key
- the key to use to store the value into the Map.value
- the new value to store in the element defined by the key.Object remove(String key)
key
- the key to be removed from the map if present.Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.