public void Register(int listenerChannelId, Guid appDomainProcotolHandlerId, string applicationPath)
 {
     TraceInformation($"Register({nameof(listenerChannelId)}={listenerChannelId}, {nameof(appDomainProcotolHandlerId)}={appDomainProcotolHandlerId}, {nameof(applicationPath)}={applicationPath})", GetType());
     var callback = _getCallbackFunc();
     var client = new Client(this, callback, applicationPath, listenerChannelId, appDomainProcotolHandlerId);
     _appDomainHandlers.Add(appDomainProcotolHandlerId, client);
     foreach (var queueName in _queueMon.GetQueuesWithPendingMessages(applicationPath))
     {
         client.EnsureServiceAvailable(queueName);
     }
 }