code: private static void encodeOtherProperties(ByteArrayOutputStream baos, Map<String,Object> destProps) throws JMSException {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "encodeOtherProperties", new Object[]{baos, destProps});
  
      // Deal with each remaining property in turn.
      Iterator<Map.Entry<String, Object>> remainingProps = destProps.entrySet().iterator();
      while (remainingProps.hasNext()) {
  
        // Get the name and value of the property.
        Map.Entry<String, Object> nextProp = remainingProps.next();
        String propName = nextProp.getKey();
        Object propValue = nextProp.getValue();
  
        // If the property value is null, or it is the default, we don't encode it.
        if (  (propValue != null)
           && (!propValue.equals(getDefaultPropertyValue(propName)))
           ) {
  
          // Get the property's coder to encode it....
          PropertyEntry propEntry = propertyMap.get(propName);
          if (propEntry != null) {
            propEntry.getPropertyCoder().encodeProperty(baos, propValue);
          }
          else {
            // If we have found a property we don't expect, something has gone horribly wrong
            throw (JMSException)JmsErrorUtils.newThrowable(JMSException.class
                                                          ,"UNKNOWN_PROPERTY_CWSIA0363"
                                                          ,new Object[] {propName}
                                                          ,null
                                                          ,"MsgDestEncodingUtilsImpl.encodeOtherProperties#1"
                                                          ,null
                                                          ,tc);
          }
        }
      }
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "encodeOtherProperties");
    }
docs: encodeOtherProperties
  Encode the more interesting JmsDestination properties, which may or may not be set:
  Queue/Topic name
  TopicSpace
  ReadAhead
  Cluster properties
  
  @param baos                 The ByteArrayOutputStream to encode into
  @param destProps            The Map of properties to be encoded
  
  @exception JMSException     Thrown if anything goes horribly wrong