Table of Contents

Class QueueInfo

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

Represents information about a RabbitMQ queue from the management API.

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

Constructors

QueueInfo(string, long, int, string, string)

Represents information about a RabbitMQ queue from the management API.

public QueueInfo(string Name, long Messages, int Consumers, string State, string Type)

Parameters

Name string

The queue name.

Messages long

The total number of messages in the queue.

Consumers int

The number of active consumers.

State string

The queue state (e.g., running, idle).

Type string

The queue type (e.g., classic, quorum, stream).

Properties

Consumers

The number of active consumers.

public int Consumers { get; init; }

Property Value

int

Messages

The total number of messages in the queue.

public long Messages { get; init; }

Property Value

long

Name

The queue name.

public string Name { get; init; }

Property Value

string

State

The queue state (e.g., running, idle).

public string State { get; init; }

Property Value

string

Type

The queue type (e.g., classic, quorum, stream).

public string Type { get; init; }

Property Value

string