code: protected String getProducerDestName() {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(this, tc, "getProducerDestName");
  
          String pDestName = null;
  
          // Get the forward routing path.
          StringArrayWrapper frp = (StringArrayWrapper) properties.get(FORWARD_ROUTING_PATH);
  
          if (frp == null) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                  SibTr.debug(this, tc, "No forward routing path to examine");
  
              // If the frp is null then we have the simple case of returning the
              // 'big' destination.
              pDestName = getDestName();
          }
  
          else {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                  SibTr.debug(this, tc, "There is a forward routing path to examine.");
  
              // There is an FRP to examine, and we want to return the name of the
              // first destination in the FRP.
              SIDestinationAddress producerAddr = frp.getProducerSIDestAddress();
              if (producerAddr != null) {
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                      SibTr.debug(this, tc, "Using first element of FRP as producer dest name");
                  pDestName = producerAddr.getDestinationName();
              }
              else {
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                      SibTr.debug(this, tc, "FRP is empty - use original dest name");
                  pDestName = getDestName();
              }
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(this, tc, "getProducerDestName", pDestName);
          return pDestName;
      }
docs: This method returns the name of the destination to which producers should
  attach when sending messages via this JMS destination.
  
  For a simple case this will be the same as the original destName, however
  if a forward routing path is present it will return the name of the first
  element in the forward routing path.