Class RabbitMQPublishTimeoutException

Assembly: redb.Route.RabbitMQ.dll

A send the broker did not take within the endpoint's confirmTimeout: no publisher confirm (or, for a
transacted block, no commit-ok) came in time, typically because the broker blocks its publishers under a memory
or disk alarm. Every publish path throws it, so one OnException<RabbitMQPublishTimeoutException> covers
them all; it is a , so a handler for that type takes it too.
The message may still reach the queue later, when the broker resumes.

public sealed class RabbitMQPublishTimeoutException : TimeoutException, ISerializable

Inheritance

Object→Exception→SystemException→TimeoutException→RabbitMQPublishTimeoutException

Implements

Properties

Exchange

The exchange the message was published to; empty for the default exchange.

public string Exchange { get; }

RoutingKey

The routing key of the send.

public string RoutingKey { get; }

Timeout

The endpoint's confirm timeout that expired.

public TimeSpan Timeout { get; }

Constructors

RabbitMQPublishTimeoutException(string, string, TimeSpan, Exception?)

Creates the exception for a send that timed out.