public class AmqpJmsMapMessageFacade extends AmqpJmsMessageFacade implements JmsMapMessageFacade
connection, message| Constructor and Description |
|---|
AmqpJmsMapMessageFacade(AmqpConnection connection)
Create a new facade ready for sending.
|
AmqpJmsMapMessageFacade(AmqpConsumer consumer,
org.apache.qpid.proton.message.Message message)
Creates a new Facade around an incoming AMQP Message for dispatch to the
JMS Consumer instance.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
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, getAmqpMessage, getAmqpTimeToLiveOverride, getApplicationProperty, getApplicationPropertyNames, getConnection, getContentType, getCorrelationId, getCorrelationIdBytes, getDeliveryCount, getDestination, getExpiration, getGroupId, getGroupSequence, getMessageId, getPriority, getProperty, getPropertyNames, getProviderMessageIdObject, getRedeliveryCount, getReplyTo, getReplyToGroupId, getTimestamp, getType, getUserId, hasAmqpTimeToLiveOverride, isPersistent, isRedelivered, onDispatch, onSend, propertyExists, setAmqpTimeToLiveOverride, setApplicationProperty, setContentType, setCorrelationId, setCorrelationIdBytes, setDeliveryCount, setDestination, setExpiration, setGroupId, setGroupSequence, setMessageId, setPersistent, setPriority, setProperty, setProviderMessageIdObject, setRedelivered, setRedeliveryCount, setReplyTo, setReplyToGroupId, setTimestamp, setType, setUserIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, getCorrelationId, getCorrelationIdBytes, getDeliveryCount, getDestination, getExpiration, getGroupId, getGroupSequence, getMessageId, getPriority, getProperty, getPropertyNames, getProviderMessageIdObject, getRedeliveryCount, getReplyTo, getTimestamp, getType, getUserId, isPersistent, isRedelivered, onDispatch, onSend, propertyExists, setCorrelationId, setCorrelationIdBytes, setDeliveryCount, setDestination, setExpiration, setGroupId, setGroupSequence, setMessageId, setPersistent, setPriority, setProperty, setProviderMessageIdObject, setRedelivered, setRedeliveryCount, setReplyTo, setTimestamp, setType, setUserIdpublic AmqpJmsMapMessageFacade(AmqpConnection connection)
connection - the AmqpConnection that under which this facade was created.public AmqpJmsMapMessageFacade(AmqpConsumer consumer, org.apache.qpid.proton.message.Message message)
consumer - the consumer that received this message.message - the incoming Message instance that is being wrapped.public 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 AmqpJmsMessageFacadeCopyright © 2013–2016 The Apache Software Foundation. All rights reserved.