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 4343namespace RabbitMQ . Client
4444{
4545 ///<summary>
46- /// Convenience class providing compile-time names for various exchange types.
46+ /// Convenience class providing compile-time names for standard exchange types.
4747 ///</summary>
4848 ///<remarks>
4949 /// Use the static members of this class as values for the
5050 /// "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.
5253 ///</remarks>
5354 public class ExchangeType
5455 {
@@ -58,17 +59,20 @@ public class ExchangeType
5859 public const string Direct = "direct" ;
5960 ///<summary>Exchange type used for AMQP topic exchanges.</summary>
6061 public const string Topic = "topic" ;
62+ ///<summary>Exchange type used for AMQP headers exchanges.</summary>
63+ public const string Headers = "headers" ;
6164
6265 ///<summary>Private constructor - this class has no instances</summary>
6366 private ExchangeType ( ) { }
6467
65- ///<summary>Retrieve a collection containing all defined exchange types.</summary>
68+ ///<summary>Retrieve a collection containing all standard exchange types.</summary>
6669 public static ICollection All ( )
6770 {
6871 return new string [ ] {
6972 Fanout ,
7073 Direct ,
71- Topic
74+ Topic ,
75+ Headers
7276 } ;
7377 }
7478 }
You can’t perform that action at this time.
0 commit comments