File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,14 @@ public sealed class CreateChannelOptions
40
40
{
41
41
/// <summary>
42
42
/// Enable or disable publisher confirmations on this channel. Defaults to <c>false</c>
43
+ ///
44
+ /// Note that, if this is enabled, and <see cref="PublisherConfirmationTrackingEnabled"/> is <b>not</b>
45
+ /// enabled, the broker may send a <c>basic.return</c> response if a message is published with <c>mandatory: true</c>
46
+ /// and the broker can't route the message. This response will not, however, contain the publish sequence number
47
+ /// for the message, so it is difficult to correlate the response to the correct message. Users of this library
48
+ /// could add the <see cref="Constants.PublishSequenceNumberHeader"/> header with the value returned by
49
+ /// <see cref="IChannel.GetNextPublishSequenceNumberAsync(System.Threading.CancellationToken)"/> to allow correlation
50
+ /// of the response with the correct message.
43
51
/// </summary>
44
52
public bool PublisherConfirmationsEnabled { get ; set ; } = false ;
45
53
You can’t perform that action at this time.
0 commit comments