Class AmqpMessageRejectedException
Exception thrown when a message is rejected by the broker. Available when a PublishOutcome has state Rejected and the broker provided rejection details (requires RabbitMQ 4.3 or later).
public class AmqpMessageRejectedException : Exception, ISerializable
- Inheritance
-
AmqpMessageRejectedException
- Implements
- Inherited Members
Constructors
AmqpMessageRejectedException(string?, string?, string?)
public AmqpMessageRejectedException(string? message, string? rejectedBy, string? reason)
Parameters
Properties
Reason
public string? Reason { get; }
Property Value
RejectedBy
The name of the queue that rejected the message, if provided by the broker.
public string? RejectedBy { get; }