CHanges for preparing replication/messaging extension

Unfortunately #getActiveBroker() can throw a RunTimeException ; this is a blocker for the replication/messaging extension.

This change handles the situation gracefully, log messages are written (debug level to prevent flooding)