code: public void notReady()
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc, "notReady");
  
      //get the ready consumer list lock
      synchronized (consumerDispatcher.getDestination().getReadyConsumerPointLock())
      {
        if(keyGroup == null)
        {
          if(ready)
            consumerDispatcher.removeReadyConsumer(this, specific);
        }
        else
          keyGroup.notReady();
  
        //set the state to not ready
        ready = false;
      }
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "notReady");
    }
docs: Set the state of a ConsumerKey to not ready and remove it from the ready list.
  or decrement the specific ready counter (if appropriate). Note that there is no need to
  increment the specific consumer list version number.
  
  This method only has any effect if the state was originally ready.