new MapMessage()
This method is not meant to be used directly.
Creates a MapMessage object that is used to send a message that
contains a set of key-value pairs as its payload.
Extends
Method Summary
- getObject
- Returns the value of the specified key name.
- setObject
- Sets the value of the specified key name into the message.
Inherited Methods
|
acknowledge |
clearBody |
clearProperties |
getJMSCorrelationID |
getJMSDeliveryMode |
getJMSDeliveryTime |
getJMSDestination |
getJMSExpiration |
getJMSMessageID |
getJMSPriority |
getJMSRedelivered |
getJMSReplyTo |
getJMSTimestamp |
getJMSType |
getObjectProperty |
setJMSCorrelationID |
setJMSDeliveryMode |
setJMSDeliveryTime |
setJMSDestination |
setJMSExpiration |
setJMSMessageID |
setJMSPriority |
setJMSRedelivered |
setJMSReplyTo |
setJMSTimestamp |
setJMSType |
setObjectProperty |
Method Detail
-
getObject() → {Object}
-
Returns the value of the specified key name.
Returns:
- Type
- Object
-
setObject(name, value)
-
Sets the value of the specified key name into the message.
Note that values must be one of recognized Java primitives, e.g. integer, double, string, etc. Use of a custom object may raise an exception on the JMS Extender and cause the message to be lost.Parameters:
Name Type Description name
String key name of the key-value pair. value
Object value of the key-value pair.