Class Rabbit

Assembly: redb.Route.RabbitMQ.dll

Fluent API for RabbitMQ endpoints.

.From(Rabbit.Queue("orders").Host("broker1").Exchange("exchange", "topic").RoutingKey("order.*"))
.To(Rabbit.Queue("notifications").Host("broker1").Declare())

public static class Rabbit

Inheritance

Object→Rabbit

Methods

Exchange(string, string?)

Creates a RabbitMQ endpoint on an exchange, without a queue name (rabbitmq:?exchange=...). A producer

public static RabbitBuilder Exchange(string name, string? type = null)

Queue(string)

Creates a RabbitMQ endpoint for the given queue name.

public static RabbitBuilder Queue(string name)