Skip to content

Commit

Permalink
Whew, add large explanation.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebakken committed Oct 23, 2024
1 parent 4d7a1c7 commit e7f1b3f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions projects/RabbitMQ.Client/CreateChannelOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ public sealed class CreateChannelOptions
{
/// <summary>
/// Enable or disable publisher confirmations on this channel. Defaults to <c>false</c>
///
/// Note that, if this is enabled, and <see cref="PublisherConfirmationTrackingEnabled"/> is <b>not</b>
/// enabled, the broker may send a <c>basic.return</c> response if a message is published with <c>mandatory: true</c>
/// and the broker can't route the message. This response will not, however, contain the publish sequence number
/// for the message, so it is difficult to correlate the response to the correct message. Users of this library
/// could add the <see cref="Constants.PublishSequenceNumberHeader"/> header with the value returned by
/// <see cref="IChannel.GetNextPublishSequenceNumberAsync(System.Threading.CancellationToken)"/> to allow correlation
/// of the response with the correct message.
/// </summary>
public bool PublisherConfirmationsEnabled { get; set; } = false;

Expand Down

0 comments on commit e7f1b3f

Please sign in to comment.