code: @Override
  	public final void setObjectProperty(String name, Object value) throws JMSException
      {
          if (value == null)
              throw new MessageFormatException("A property value cannot be null");
              
          // Check type
          if (!(value instanceof Boolean ||
                value instanceof Byte ||
                value instanceof Short ||
                value instanceof Integer ||
                value instanceof Long ||
                value instanceof Float ||
                value instanceof Double ||
                value instanceof String))
              throw new MessageFormatException("Unsupported property value type : "+value.getClass().getName());
          
          setProperty(name,value);
      }
docs: /* (non-Javadoc)
  @see javax.jms.Message#setObjectProperty(java.lang.String, java.lang.Object)