private static void OnStarted()
 {
     //Subscribe MQ for published resources in PID
     _messageQueueListenerService = _app.ApplicationServices.GetService <IMessageQueueService>();
     _messageQueueListenerService.Register();
 }