@ Override public void unlockAll ( ) throws SISessionUnavailableException , SIResourceException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "unlockAll" , this ) ; synchronized ( _asynchConsumerBusyLock ) { this . lock ( ) ; try { // Only valid if the consumer session is still open checkNotClosed ( ) ; try { // Unlock the messages (take this lock to ensure we don't have a problem // getting it if we need it to re-deliver the unlocked messages to ourselves) _allLockedMessages . unlockAll ( ) ; } catch ( SIMPMessageNotLockedException e ) { // No FFDC code needed // This exception has occurred beause someone has deleted the // message(s). Ignore this exception as it is unlocked anyway } } finally { this . unlock ( ) ; } } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "unlockAll" ) ; }
Unlock all messages which have been locked to this LCP but not consumed