public void handleQueueMemberRemovedEvent ( QueueMemberRemovedEvent event ) { final AsteriskQueueImpl queue = getInternalQueueByName ( event . getQueue ( ) ) ; if ( queue == null ) { logger . error ( "Ignored QueueMemberRemovedEvent for unknown queue " + event . getQueue ( ) ) ; return ; } final AsteriskQueueMemberImpl member = queue . getMember ( event . getLocation ( ) ) ; if ( member == null ) { logger . error ( "Ignored QueueMemberRemovedEvent for unknown agent name: " + event . getMemberName ( ) + " location: " + event . getLocation ( ) + " queue: " + event . getQueue ( ) ) ; return ; } queue . removeMember ( member ) ; }
Challange a QueueMemberRemovedEvent .