Table of Contents

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

options IOptions<HystrixMetricsStreamOptions>
stream HystrixDashboardStream
factory HystrixConnectionFactory
logger ILogger<RabbitMetricsStreamPublisher>
discoveryClient IDiscoveryClient

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

disposing bool

EnsureConnection()

protected override bool EnsureConnection()

Returns

bool

OnNext(List<string>)

protected override void OnNext(List<string> jsonList)

Parameters

jsonList List<string>