public boolean existsAnyBroker ( ) { boolean result = false ; synchronized ( this . brokerDetails ) { Iterator < PerBrokerInfo > iter = this . brokerDetails . values ( ) . iterator ( ) ; while ( ( ! result ) && ( iter . hasNext ( ) ) ) { result = iter . next ( ) . exists ; } } return result ; }
Determine if this destination currently is known to exist on any broker registered for the destination .