Table of Contents

Class ConnectionInfo

Namespace
Excalibur.Dispatch.Transport.RabbitMQ
Assembly
Excalibur.Dispatch.Transport.RabbitMQ.dll

Represents information about a RabbitMQ connection from the management API.

public sealed record ConnectionInfo : IEquatable<ConnectionInfo>
Inheritance
ConnectionInfo
Implements
Inherited Members
Extension Methods

Constructors

ConnectionInfo(string, string, int, IReadOnlyDictionary<string, string>, DateTimeOffset)

Represents information about a RabbitMQ connection from the management API.

public ConnectionInfo(string Name, string State, int Channels, IReadOnlyDictionary<string, string> ClientProperties, DateTimeOffset ConnectedAt)

Parameters

Name string

The connection name.

State string

The connection state (e.g., running, blocked).

Channels int

The number of channels on this connection.

ClientProperties IReadOnlyDictionary<string, string>

The client-provided properties.

ConnectedAt DateTimeOffset

The timestamp when the connection was established.

Properties

Channels

The number of channels on this connection.

public int Channels { get; init; }

Property Value

int

ClientProperties

The client-provided properties.

public IReadOnlyDictionary<string, string> ClientProperties { get; init; }

Property Value

IReadOnlyDictionary<string, string>

ConnectedAt

The timestamp when the connection was established.

public DateTimeOffset ConnectedAt { get; init; }

Property Value

DateTimeOffset

Name

The connection name.

public string Name { get; init; }

Property Value

string

State

The connection state (e.g., running, blocked).

public string State { get; init; }

Property Value

string