private void setReady ( ) throws SINotPossibleInCurrentConfigurationException { // If we're not transacted no messages are recoverable Reliability unrecoverable = Reliability . ASSURED_PERSISTENT ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "setReady" , this ) ; // If the consumer is transacted inform the CD what // recoverability is required. if ( _transacted ) unrecoverable = _unrecoverableOptions ; //set the ready state _ready = true ; if ( _keyGroup != null ) _keyGroup . groupReady ( ) ; //and inform the consumerDispatcher that we are ready _consumerKey . ready ( unrecoverable ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "setReady" ) ; }
Change the Ready state to true