Skip to content

Getting Started

Install RabbitMQ Provider

RabbitMQ.Client v6

dotnet add package ServiceBus.Core.Rabbit

RabbitMQ.Client v7

dotnet add package ServiceBus.Core.Rabbit.V7

Install Formatter

Microsoft JSON formatter:

dotnet add package ServiceBus.Formatters.Ms

Newtonsoft formatter:

dotnet add package ServiceBus.Formatters.Newtonsoft

Basic Workflow

  1. Configure a RabbitMQ connection.
  2. Configure a formatter.
  3. Create publisher and subscriber descriptors.
  4. Create publishers and subscribers.
  5. Publish and consume messages.

Subsequent sections of the documentation explain each step in detail.