protected override void Probe(ProbeContext context) { context.Set(new { Type = "ActiveMQ", Settings.Host, Settings.Port, Settings.Username, Password = new string('*', Settings.Password.Length) }); ConnectionContextSupervisor.Probe(context); }
void IProbeSite.Probe(ProbeContext context) { var scope = context.CreateScope("host"); scope.Set(new { Type = "ActiveMQ", Settings.Host, Settings.Port, Settings.Username, Password = new string('*', Settings.Password.Length) }); ConnectionContextSupervisor.Probe(scope); _receiveEndpoints.Probe(scope); }
protected override async Task StopSupervisor(StopSupervisorContext context) { await base.StopSupervisor(context).ConfigureAwait(false); await ConnectionContextSupervisor.Stop(context).ConfigureAwait(false); }