Class QueueInfo
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
NamestringThe queue name.
MessageslongThe total number of messages in the queue.
ConsumersintThe number of active consumers.
StatestringThe queue state (e.g., running, idle).
TypestringThe queue type (e.g., classic, quorum, stream).
Properties
Consumers
The number of active consumers.
public int Consumers { get; init; }
Property Value
Messages
The total number of messages in the queue.
public long Messages { get; init; }
Property Value
Name
The queue name.
public string Name { get; init; }
Property Value
State
The queue state (e.g., running, idle).
public string State { get; init; }
Property Value
Type
The queue type (e.g., classic, quorum, stream).
public string Type { get; init; }