File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
projects/client/RabbitMQ.Client/src/client/api Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 43
43
namespace RabbitMQ . Client
44
44
{
45
45
///<summary>
46
- /// Convenience class providing compile-time names for various exchange types.
46
+ /// Convenience class providing compile-time names for standard exchange types.
47
47
///</summary>
48
48
///<remarks>
49
49
/// Use the static members of this class as values for the
50
50
/// "exchangeType" arguments for IModel methods such as
51
- /// ExchangeDeclare.
51
+ /// ExchangeDeclare. The broker may be extended with additional
52
+ /// exchange types that do not appear in this class.
52
53
///</remarks>
53
54
public class ExchangeType
54
55
{
@@ -58,17 +59,20 @@ public class ExchangeType
58
59
public const string Direct = "direct" ;
59
60
///<summary>Exchange type used for AMQP topic exchanges.</summary>
60
61
public const string Topic = "topic" ;
62
+ ///<summary>Exchange type used for AMQP headers exchanges.</summary>
63
+ public const string Headers = "headers" ;
61
64
62
65
///<summary>Private constructor - this class has no instances</summary>
63
66
private ExchangeType ( ) { }
64
67
65
- ///<summary>Retrieve a collection containing all defined exchange types.</summary>
68
+ ///<summary>Retrieve a collection containing all standard exchange types.</summary>
66
69
public static ICollection All ( )
67
70
{
68
71
return new string [ ] {
69
72
Fanout ,
70
73
Direct ,
71
- Topic
74
+ Topic ,
75
+ Headers
72
76
} ;
73
77
}
74
78
}
You can’t perform that action at this time.
0 commit comments