SetOptions
Overwrites the current option properties with the new option properties.
Syntax
public void setOptions(Map map)
Parameters
- The new option map to replace the current option map
Results
None.
Example
Map options = new HashMap();
...
message.setOptions(options);