WebLogic Messaging API Class Library

IMessage. Method 

Sets a String property value with the specified name into the message.

void (
   String name,
   String value
);

Parameters

String
the name of the String property
String
the String property value to set

Exceptions

Exception Type Condition
MessageException if the JMS provider fails to set the property due to some internal error.
ArgumentException if the name is null or if the name is an empty string.
MessageNotWriteableException if properties are read-only

See Also

IMessage Interface | WebLogic.Messaging Namespace