setStringProperty

 

public void setStringProperty(String name, String value) 
              throws JMSException;

Sets a String property value with the given name in the message.

Parameters

  • name - the name of the String property.

  • value - the String property value to set in the Message.

Exceptions

  • MessageNotWriteableException - if properties are marked read-only

  • JMSException - with reason MQJMS_E_BAD_PROPERTY_NAME


uj26860_