Class RabbitMetricsStreamPublisher
- Namespace
- Steeltoe.CircuitBreaker.Hystrix.MetricsStream
- Assembly
- Steeltoe.CircuitBreaker.Hystrix.MetricsStreamAutofac.dll
public class RabbitMetricsStreamPublisher : HystrixMetricsStreamPublisher, IDisposable
- Inheritance
-
RabbitMetricsStreamPublisher
- Implements
- Inherited Members
Constructors
RabbitMetricsStreamPublisher(IOptions<HystrixMetricsStreamOptions>, HystrixDashboardStream, HystrixConnectionFactory, ILogger<RabbitMetricsStreamPublisher>, IDiscoveryClient)
public RabbitMetricsStreamPublisher(IOptions<HystrixMetricsStreamOptions> options, HystrixDashboardStream stream, HystrixConnectionFactory factory, ILogger<RabbitMetricsStreamPublisher> logger = null, IDiscoveryClient discoveryClient = null)
Parameters
optionsIOptions<HystrixMetricsStreamOptions>streamHystrixDashboardStreamfactoryHystrixConnectionFactoryloggerILogger<RabbitMetricsStreamPublisher>discoveryClientIDiscoveryClient
Properties
Channel
protected IModel Channel { get; set; }
Property Value
- IModel
Connection
protected IConnection Connection { get; set; }
Property Value
- IConnection
Factory
protected ConnectionFactory Factory { get; set; }
Property Value
- ConnectionFactory
Methods
Dispose(bool)
protected override void Dispose(bool disposing)
Parameters
disposingbool
EnsureConnection()
protected override bool EnsureConnection()
Returns
OnNext(List<string>)
protected override void OnNext(List<string> jsonList)