quarkus-messaging-rabbitmq integrates SmallRye Reactive Messaging with RabbitMQ, moving channels from in-memory delivery to a broker without changing the reactive messaging model. section 9.7
Use the extension to connect application channels to RabbitMQ:
- Map an outgoing invoices channel to a RabbitMQ exchange and a consuming channel to a queue. section 9.7
Invoice consumption
A BillingService method annotated with @Incoming("invoices-rabbitmq") receives a JsonObject, maps it to Invoice, and processes it. In Dev mode, Quarkus starts a RabbitMQ-compatible broker automatically.
