getObjectProperty
public Object getObjectProperty(String name) throws JMSException;
Gets the Java™ object property value with the given name.
This method can be used to return, in objectified format, an object that had been stored as a property in the Message with the equivalent setObject() method call, or its equivalent primitive setter method.
- Parameters
- name - the name of the Java object property.
- Returns
- the Java object property value with the given name in objectified format (that is, if it set as an int , then an Integer is returned). If there is no property with this name, a null value is returned.
- Exceptions
- JMSException - with reasons
- MQJMS_EXCEPTION_NULL_PROPERTY_NAME
- MQJMS_E_INTERNAL_ERROR
- NullPointerException - if name is null
uj26620_