Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
        protected override async Task StopSupervisor(StopSupervisorContext context)
        {
            await base.StopSupervisor(context).ConfigureAwait(false);

            await ConnectionContextSupervisor.Stop(context).ConfigureAwait(false);
        }