WebLogic Messaging API Class Library

IMessage.SetStringProperty\xA0Method\xA0

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

void\xA0SetStringProperty(
\xA0\xA0\xA0String\xA0name,
\xA0\xA0\xA0String\xA0value
);

Parameters

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

Exceptions

Exception Type Condition
MessageException if JMS 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