File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 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
4040 {
4141 /// <summary>
4242 /// 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.
4351 /// </summary>
4452 public bool PublisherConfirmationsEnabled { get ; set ; } = false ;
4553
You can’t perform that action at this time.
0 commit comments