protected void removeRecoveredNeighbour ( SIBUuid8 neighbourUuid , Transaction transaction ) throws SIConnectionLostException , SIResourceException , SIErrorException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "removeRecoveredNeighbour" , new Object [ ] { neighbourUuid , transaction } ) ; Neighbour neighbour = null ; synchronized ( _recoveredNeighbours ) { neighbour = ( Neighbour ) _recoveredNeighbours . remove ( neighbourUuid ) ; } // Need to indicate that this neighbour was not recovered removeRegisteredProxies ( neighbour , transaction , false ) ; // Ask the Neighbour to delete its destination. neighbour . deleteDestination ( ) ; // Ask the Neighbour to delete it remote system destinations that // are pointing to the remoteME neighbour . deleteSystemDestinations ( ) ; // Remove the neighbour from the proxy handler item stream, so that we won't // simply go through this same logic again next time we restart. try { neighbour . remove ( transaction , neighbour . getLockID ( ) ) ; } catch ( MessageStoreException e ) { // If the MessageStoreException is caught, then this is bad, log a FFDC FFDCFilter . processException ( e , "com.ibm.ws.sib.processor.proxyhandler.Neighbours.removeNeighbour" , "1:994:1.113" , this ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "removeRecoveredNeighbour" , "SIResourceException" ) ; SibTr . error ( tc , "INTERNAL_MESSAGING_ERROR_CWSIP0003" , new Object [ ] { "com.ibm.ws.sib.processor.proxyhandler.Neighbours" , "1:1003:1.113" , e , neighbour . getUUID ( ) } ) ; throw new SIResourceException ( nls . getFormattedMessage ( "INTERNAL_MESSAGING_ERROR_CWSIP0003" , new Object [ ] { "com.ibm.ws.sib.processor.proxyhandler.Neighbours" , "1:1012:1.113" , e , neighbour . getUUID ( ) } , null ) , e ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "removeRecoveredNeighbour" ) ; }
Removes a Neighbour that has been deleted by Admin but it existed in the MessageStore