docs: final static void setDestinationProperty(JmsDestination dest, String longName, Object longValue) throws JMSException {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setDestinationProperty", new Object[]{dest, longName, longValue});
  
      // Let's hope the property is one we know about, as that will be quick & easy
      PropertyEntry propEntry = propertyMap.get(longName);
      if (propEntry != null) {
        if (longValue != null) {
        // If the value is of the wrong type, the caller screwed up
          if (!longValue.getClass().equals(propEntry.getType())) {
            throw (JMSException)JmsErrorUtils.newThrowable(JMSException.class
                                                          ,"INTERNAL_INVALID_VALUE_CWSIA0361"
                                                          ,new Object[] {longValue, longName}
                                                          ,null
                                                          ,"MsgDestEncodingUtilsImpl.setDestinationProperty#1"
                                                          ,null
                                                          ,tc);
          }
        }
        // If everything is OK, go ahead & set it
        setProperty(dest, longName, propEntry.getIntValue(), longValue);
      }
  
      // We could have a bash at finding a method by reflection, but we think we have
      // already catered for all known properties (and more), so we will just barf.
      else {
        throw (JMSException)JmsErrorUtils.newThrowable(JMSException.class
                                                      ,"UNKNOWN_PROPERTY_CWSIA0363"
                                                      ,new Object[] {longName}
                                                      ,null
                                                      ,"MsgDestEncodingUtilsImpl.setDestinationProperty#2"
                                                      ,null
                                                      ,tc);
      }
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "MsgDestEncodingUtilsImpl.setDestinationProperty#2");
    }