docs: void updateReplyReliability(Reliability nonPerReliability, Reliability perReliability) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(this, tc, "updateReplyReliability", new Object[] { nonPerReliability, perReliability });
  
          // is there a JMSReplyTo set?
          if (replyTo != null && replyTo instanceof JmsDestinationImpl) {
  
              // d317816 use the reply reliability saved in the destination if it's been set
              Reliability replyReliability = ((JmsDestinationImpl) replyTo).getReplyReliability();
              if ((replyReliability != null) && (replyReliability != Reliability.NONE)) {
                  msg.uncheckedSetReplyReliability(replyReliability);
              }
              else {
                  // set the reliability base on the deliveryMode of the replyToDest
                  String dMode = ((JmsDestinationImpl) replyTo).getDeliveryMode();
                  if (ApiJmsConstants.DELIVERY_MODE_PERSISTENT.equals(dMode)) {
                      // use the reliability defined by the connection factory persistent mapping
                      msg.uncheckedSetReplyReliability(perReliability);
  
                  }
                  else if (ApiJmsConstants.DELIVERY_MODE_NONPERSISTENT.equals(dMode)) {
                      // use the reliability defined by the connection factory non-persistent mapping
                      msg.uncheckedSetReplyReliability(nonPerReliability);
  
                  }
                  else if (ApiJmsConstants.DELIVERY_MODE_APP.equals(dMode)) {
                      // set to NONE
                      msg.uncheckedSetReplyReliability(Reliability.NONE);
                  }
              }
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(this, tc, "updateReplyReliability");
      }