public abstract class ExchangeType

Summary

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

Remarks

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

Field Summary

Flags Type Name Summary
public const string Direct

Exchange type used for AMQP direct exchanges.

public const string Fanout

Exchange type used for AMQP fanout exchanges.

public const string Headers

Exchange type used for AMQP headers exchanges.

public const string Topic

Exchange type used for AMQP topic exchanges.

Method Summary

Flags Name Summary
public static ICollection<string> All()

Retrieve a collection containing all standard exchange types.

Field Detail

public const string Direct

Summary

Exchange type used for AMQP direct exchanges.

public const string Fanout

Summary

Exchange type used for AMQP fanout exchanges.

public const string Headers

Summary

Exchange type used for AMQP headers exchanges.

public const string Topic

Summary

Exchange type used for AMQP topic exchanges.

Method Detail

All

public static ICollection<string> All()

Flags public static
Return type ICollection<string>

Summary

Retrieve a collection containing all standard exchange types.