@@ -54,50 +54,48 @@ namespace RabbitMQ.Client
54
54
public static class Headers
55
55
{
56
56
/// <summary>
57
- /// Header used to declare priority queues and set maximum priority of a queue
57
+ /// x-max- priority header
58
58
/// </summary>
59
- public const string QueueMaxPriority = "x-max-priority" ;
59
+ public const string XMaxPriority = "x-max-priority" ;
60
60
61
61
/// <summary>
62
- /// Header used to limit maximum length of a queue in messages
62
+ /// x-max- length header
63
63
/// </summary>
64
- public const string QueueMaxLengthInMessages = "x-max-length" ;
64
+ public const string XMaxLength = "x-max-length" ;
65
65
66
66
/// <summary>
67
- /// Header used to limit maximum length of a queue in bytes
67
+ /// x-max- length- bytes header
68
68
/// </summary>
69
- public const string QueueMaxLengthInBytes = "x-max-length-bytes" ;
69
+ public const string XMaxLengthInBytes = "x-max-length-bytes" ;
70
70
71
71
/// <summary>
72
- /// Header used to set dead letter exchange for a queue
72
+ /// x- dead- letter- exchange header
73
73
/// </summary>
74
- public const string DeadLetterExchange = "x-dead-letter-exchange" ;
74
+ public const string XDeadLetterExchange = "x-dead-letter-exchange" ;
75
75
76
76
/// <summary>
77
- /// Header used to set dead letter routing key for a queue
77
+ /// x- dead- letter- routing- key header
78
78
/// </summary>
79
- public const string DeadLetterRoutingKey = "x-dead-letter-routing-key" ;
79
+ public const string XDeadLetterRoutingKey = "x-dead-letter-routing-key" ;
80
80
81
81
/// <summary>
82
- /// Header used to set ttl globaly to all messages in a queue
82
+ /// x-message- ttl header
83
83
/// </summary>
84
- public const string PerQueueMessageTtl = "x-message-ttl" ;
84
+ public const string XMessageTTL = "x-message-ttl" ;
85
85
86
86
/// <summary>
87
- /// Header used to set expiration for a queue
87
+ /// x-expires header
88
88
/// </summary>
89
- public const string QueueExpires = "x-expires" ;
90
-
89
+ public const string XExpires = "x-expires" ;
91
90
92
91
/// <summary>
93
- /// Header used to set alternate exchange for an exchange
92
+ /// alternate- exchange header
94
93
/// </summary>
95
94
public const string AlternateExchange = "alternate-exchange" ;
96
95
97
-
98
96
/// <summary>
99
- /// Header used to set priority of consumer
97
+ /// x- priority header
100
98
/// </summary>
101
- public const string ConsumerPriority = "x-priority" ;
99
+ public const string XPriority = "x-priority" ;
102
100
}
103
101
}
0 commit comments