Class ExchangeInfo
Represents information about a RabbitMQ exchange from the management API.
public sealed record ExchangeInfo : IEquatable<ExchangeInfo>
- Inheritance
-
ExchangeInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
ExchangeInfo(string, string, bool, bool, bool)
Represents information about a RabbitMQ exchange from the management API.
public ExchangeInfo(string Name, string Type, bool Durable, bool AutoDelete, bool Internal)
Parameters
NamestringThe exchange name.
TypestringThe exchange type (e.g., direct, fanout, topic, headers).
DurableboolWhether the exchange survives broker restart.
AutoDeleteboolWhether the exchange is deleted when the last queue unbinds.
InternalboolWhether the exchange is internal (cannot be published to directly).
Properties
AutoDelete
Whether the exchange is deleted when the last queue unbinds.
public bool AutoDelete { get; init; }
Property Value
Durable
Whether the exchange survives broker restart.
public bool Durable { get; init; }
Property Value
Internal
Whether the exchange is internal (cannot be published to directly).
public bool Internal { get; init; }
Property Value
Name
The exchange name.
public string Name { get; init; }
Property Value
Type
The exchange type (e.g., direct, fanout, topic, headers).
public string Type { get; init; }