Path: redb-route/redb.Route.RabbitMQ/RabbitMQPublishTimeoutException.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.RabbitMQ/RabbitMQPublishTimeoutException.cs ---- namespace redb.Route.RabbitMQ; /// /// 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 { /// Creates the exception for a send that timed out. public RabbitMQPublishTimeoutException(string exchange, string routingKey, TimeSpan timeout, Exception? innerException = null) : base( $"RabbitMQ: the broker did not confirm the send within {timeout.TotalMilliseconds:0} ms " + $"(exchange='{exchange}', routingKey='{routingKey}'); a blocked broker (memory or disk alarm) is the usual cause.", innerException) { Exchange = exchange; RoutingKey = routingKey; Timeout = timeout; } /// The exchange the message was published to; empty for the default exchange. public string Exchange { get; } /// The routing key of the send. public string RoutingKey { get; } /// The endpoint's confirm timeout that expired. public TimeSpan Timeout { get; } }