docs: @Override
      public void setJMSRedelivered(boolean arg0) throws JMSException {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(this, tc, "setJMSRedelivered", arg0);
  
          if (arg0 == false) {
              // This is well defined.
              msg.setRedeliveredCount(0);
          }
          else {
              // This is quite arbitrary, however the user application only calls
              // this if the want to alter the value after the message has been received,
              // in which case they get what they deserve.
              msg.setRedeliveredCount(1);
          }
  
          // Invalidate the toString cache
          cachedToString = null;
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(this, tc, "setJMSRedelivered");
      }