setObject

 

public void setObject(String name, Object value) throws JMSException;

Sets a Java™ object with the given name in the map.

This method only works for the 'objectified' primitive object types (Integer, Double, Long...), String, and byte arrays.

Parameters

  • name - the name of the object

  • value - the value to set in the Map.

Exceptions

  • JMSException - if JMS fails to write the message due to an internal error.

  • MessageNotWriteableException - if the message in read-only mode.


uj26370_