Class RabbitMQUnroutableException

Assembly: redb.Route.RabbitMQ.dll

A mandatory publish came back from the broker (basic.return): no queue takes it for its exchange and routing
key, so it was not delivered. Every publish path throws it — an immediate send, a request-reply call and the sends
of a transacted block — so one OnException<RabbitMQUnroutableException> covers all of them.

public sealed class RabbitMQUnroutableException : Exception, ISerializable

Inheritance

Object→Exception→RabbitMQUnroutableException

Implements

Properties

Exchange

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

public string Exchange { get; }

ReplyCode

The broker's reply code, 312 (NO_ROUTE) for an unroutable message.

public ushort ReplyCode { get; }

ReplyText

The broker's reply text, such as NO_ROUTE.

public string ReplyText { get; }

RoutingKey

The routing key no queue is bound for.

public string RoutingKey { get; }

Constructors