Message.setProperty(String name, String value) 方法
定义
Adds or sets user-defined properties of this Message.
public void setProperty(String name, String value)
参数
- name
- String
Name of the property to be set.
- value
- String
Value of the property to be set.
例外
IllegalArgumentException
If any of the arguments provided is null.