File tree Expand file tree Collapse file tree 1 file changed +35
-2
lines changed
projects/client/RabbitMQ.Client/src/client/api Expand file tree Collapse file tree 1 file changed +35
-2
lines changed Original file line number Diff line number Diff line change 3838// Copyright (c) 2007-2020 VMware, Inc. All rights reserved.
3939//---------------------------------------------------------------------------
4040
41- using System . Collections . Generic ;
42-
4341namespace RabbitMQ . Client
4442{
4543 /// <summary>
@@ -97,5 +95,40 @@ public static class Headers
9795 /// x-priority header
9896 /// </summary>
9997 public const string XPriority = "x-priority" ;
98+
99+ /// <summary>
100+ /// x-queue-mode header.
101+ /// Available modes: "default" and "lazy"
102+ /// </summary>
103+ public const string XQueueMode = "x-queue-mode" ;
104+
105+ // quorum
106+ /// <summary>
107+ /// x-queue-type header.
108+ /// Available types: "quorum" and "classic"(default)
109+ /// </summary>
110+ public const string XQueueType = "x-queue-type" ;
111+
112+ /// <summary>
113+ /// x-quorum-initial-group-size header.
114+ /// Use to control the number of quorum queue members
115+ /// </summary>
116+ public const string XQuorumInitialGroupSize = "x-quorum-initial-group-size" ;
117+
118+ // true/false
119+ /// <summary>
120+ /// x-single-active-consumer header.
121+ /// Available modes: true and false(default).
122+ /// Allows to have only one consumer at a time consuming from a queue
123+ /// and to fail over to another registered consumer in case the active one is cancelled or dies
124+ /// </summary>
125+ public const string XSingleActiveConsumer = "x-single-active-consumer" ;
126+
127+ /// <summary>
128+ /// x-overflow header.
129+ /// Available strategies: "reject-publish" and "drop-head"(default).
130+ /// Allows to configure strategy when <see cref="XMaxLength"/> or <see cref="XMaxLengthInBytes"/> hits limits
131+ /// </summary>
132+ public const string XOverflow = "x-overflow" ;
100133 }
101134}
You can’t perform that action at this time.
0 commit comments