public void Publish()
 {
     //simulate some events
     t = new Timer(_ =>
     {
         relay.RelayMessage(new Message
         {
             Topic      = "HealthMonitor",
             Properties = new
             {
                 machineName   = machineName,
                 CPUPercentage = cpuCounter.NextValue()
             }
         });
     }, null, 0, 3000);
 }