Table of Contents

Class ExchangeType

Namespace
RabbitMQ.Client
Assembly
RabbitMQ.Client.dll

Convenience class providing compile-time names for standard exchange types.

public static class ExchangeType
Inheritance
ExchangeType
Inherited Members

Remarks

Use the static members of this class as values for the "exchangeType" arguments for IChannel methods such as ExchangeDeclare. The broker may be extended with additional exchange types that do not appear in this class.

Fields

Direct

Exchange type used for AMQP direct exchanges.

public const string Direct = "direct"

Field Value

string

Fanout

Exchange type used for AMQP fanout exchanges.

public const string Fanout = "fanout"

Field Value

string

Headers

Exchange type used for AMQP headers exchanges.

public const string Headers = "headers"

Field Value

string

Topic

Exchange type used for AMQP topic exchanges.

public const string Topic = "topic"

Field Value

string

Methods

All()

Retrieve a collection containing all standard exchange types.

public static ICollection<string> All()

Returns

ICollection<string>