Class ExchangeOptions
- Namespace
- Tp.RabbitMq
- Assembly
- Tp.RabbitMq.dll
public class ExchangeOptions
- Inheritance
-
ExchangeOptions
- Inherited Members
-
Constructors
ExchangeOptions(string, string, bool, IDictionary<string, object>)
public ExchangeOptions(string exchangeName, string exchangeType, bool isDurable, IDictionary<string, object> args = null)
Parameters
exchangeName
string
exchangeType
string
isDurable
bool
args
IDictionary<string, object>
Fields
DefaultExchangeOptions
public static readonly ExchangeOptions DefaultExchangeOptions
Field Value
- ExchangeOptions
DirectExchangeType
public const string DirectExchangeType = "direct"
Field Value
- string
FanoutExchangeType
public const string FanoutExchangeType = "fanout"
Field Value
- string
TopicExchangeType
public const string TopicExchangeType = "topic"
Field Value
- string
Properties
Args
public IDictionary<string, object> Args { get; }
Property Value
- IDictionary<string, object>
ExchangeName
public string ExchangeName { get; }
Property Value
- string
ExchangeType
public string ExchangeType { get; }
Property Value
- string
IsDefaultExchange
public bool IsDefaultExchange { get; }
Property Value
- bool
IsDurable
public bool IsDurable { get; }
Property Value
- bool