Getting started
Publish your first message.
In four short steps, configure RabbitMQ, register a consumer, and publish an event. Choose your language at each step.
- 01
Install the RabbitMQ transport
The transport brings in the core runtime and abstractions.
Loading code…Using Maven? Add the same group, artifact, and version as a standard dependency.
- 02
Configure the bus
Register the consumer and let MyServiceBus create its receive endpoint.
Loading code… - 03
Define messages and a consumer
A consumer handles one message type through a consume context.
Loading code… - 04
Publish
Publishing fans the event out to every interested receive endpoint.
Loading code…
RabbitMQ must be running
The examples connect to a broker on localhost using its default connection settings.