The IMapMessage type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Acknowledge |
Acknowledges all consumed messages of the session of this consumed
message.
(Inherited from IMessage.)All consumed JMS messages support the acknowledge method for use when a client has specified that its JMS session's consumed messages are to be explicitly acknowledged. By invoking acknowledge on a consumed message, a client acknowledges all messages consumed by the session that the message was delivered to. Calls to acknowledge are ignored for both transacted sessions and sessions specified to use implicit acknowledgement modes. A client may individually acknowledge each message as it is consumed, or it may choose to acknowledge messages as an application-defined group (which is done by calling acknowledge on the last received message of the group, thereby acknowledging all messages consumed by the session.) Messages that have been received but not acknowledged may be redelivered. | |
| ClearBody |
Clears out the message body. Clearing a message's body does not clear
its header values or property entries.
(Inherited from IMessage.)If this message body was read-only, calling this method leaves the message body in the same state as an empty body in a newly created message. | |
| ClearProperties |
Clears a message's properties.
(Inherited from IMessage.)The message's header fields and body are not cleared. | |
| GetBoolean |
Returns the boolean value with the specified name.
| |
| GetBooleanProperty |
Returns the value of the boolean property with the
specified name.
(Inherited from IMessage.) | |
| GetByte |
Returns the byte value with the specified name.
| |
| GetByteProperty |
Returns the value of the byte property with the specified
name.
(Inherited from IMessage.) | |
| GetBytes |
Returns the byte array value with the specified name.
| |
| GetChar |
Returns the Unicode character value with the specified name.
| |
| GetDouble |
Returns the double value with the specified name.
| |
| GetDoubleProperty |
Returns the value of the double property with the specified
name.
(Inherited from IMessage.) | |
| GetFloat |
Returns the float value with the specified name.
| |
| GetFloatProperty |
Returns the value of the float property with the specified
name.
(Inherited from IMessage.) | |
| GetInt |
Returns the int value with the specified name.
| |
| GetIntProperty |
Returns the value of the int property with the specified
name.
(Inherited from IMessage.) | |
| GetLong |
Returns the long value with the specified name.
| |
| GetLongProperty |
Returns the value of the long property with the specified
name.
(Inherited from IMessage.) | |
| GetObject |
Returns the value of the object with the specified name.
This method can be used to return, in objectified format, an object that had been stored in the Map with the equivalent setObject method call, or its equivalent primitive settype method. Note that byte values are returned as byte[], not Byte[]. | |
| GetObjectProperty |
Returns the value of the object property with the specified name.
(Inherited from IMessage.)This method can be used to return, in objectified format, an object that has been stored as a property in the message with the equivalent SetObjectProperty method call, or its equivalent primitive SettypeProperty method. | |
| GetShort |
Returns the short value with the specified name.
| |
| GetShortProperty |
Returns the value of the short property with the specified
name.
(Inherited from IMessage.) | |
| GetString |
Returns the String value with the specified name.
| |
| GetStringProperty |
Returns the value of the String property with the specified
name.
(Inherited from IMessage.) | |
| ItemExists |
Indicates whether an item exists in this IMapMessage object.
| |
| PropertyExists |
Indicates whether a property value exists.
(Inherited from IMessage.) | |
| SetBoolean |
Sets a boolean value with the specified name into the Map.
| |
| SetBooleanProperty |
Sets a boolean property value with the specified name into
the message.
(Inherited from IMessage.) | |
| SetByte |
Sets a byte value with the specified name into the Map.
| |
| SetByteProperty |
Sets a byte property value with the specified name into
the message.
(Inherited from IMessage.) | |
| SetBytes(String, array<Byte>[]()[][]) |
Sets a byte array value with the specified name into the Map.
| |
| SetBytes(String, array<Byte>[]()[][], Int32, Int32) |
Sets a portion of the byte array value with the specified name into the
Map.
| |
| SetChar |
Sets a Unicode character value with the specified name into the Map.
| |
| SetDouble |
Sets a double value with the specified name into the Map.
| |
| SetDoubleProperty |
Sets a double property value with the specified name into
the message.
(Inherited from IMessage.) | |
| SetFloat |
Sets a float value with the specified name into the Map.
| |
| SetFloatProperty |
Sets a float property value with the specified name into
the message.
(Inherited from IMessage.) | |
| SetInt |
Sets an int value with the specified name into the Map.
| |
| SetIntProperty |
Sets an int property value with the specified name into
the message.
(Inherited from IMessage.) | |
| SetLong |
Sets a long value with the specified name into the Map.
| |
| SetLongProperty |
Sets a long property value with the specified name into
the message.
(Inherited from IMessage.) | |
| SetObject |
Sets an object value with the specified name into the Map.
This method works only for the objectified primitive object types (Integer, Double, Long...), String objects, and byte arrays. | |
| SetObjectProperty |
Sets a object property value with the specified name into the
message.
(Inherited from IMessage.)Note that this method works only for the objectified primitive object types (Integer, Double, Long ...) and String objects. | |
| SetShort |
Sets a short value with the specified name into the Map.
| |
| SetShortProperty |
Sets a short property value with the specified name into
the message.
(Inherited from IMessage.) | |
| SetString |
Sets a String value with the specified name into the Map.
| |
| SetStringProperty |
Sets a String property value with the specified name into
the message.
(Inherited from IMessage.) |