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

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