Connect to RabbitMQ from Azure Logic Apps (Standard and Hybrid)
We are pleased to announce the introduction of the RabbitMQ Connector in Logic Apps (Standard) which allows you to both send and receive messages between Logic Apps and RabbitMQ.
RabbitMQ is a robust, open-source message broker widely used for building reliable, scalable, and flexible messaging solutions. It is trusted across industries such as financial services, e-commerce, IoT, telecommunications, and cloud-native microservices.
Our RabbitMQ connector allows messaging scenarios on-premises using Logic Apps hybrid.
Benefits of Using RabbitMQ
- Reliability: RabbitMQ ensures message delivery with strong durability and acknowledgment mechanisms.
- Flexible Routing: Supports complex routing logic via exchanges (direct, topic, fanout, headers).
- Clustering & High Availability: Offers clustering and mirrored queues for fault tolerance.
- Management & Monitoring: Provides a user-friendly management UI and extensive monitoring capabilities.
- Extensibility: Supports plugins for authentication, federation, and more.
Our current connector offering supports both triggers (receive) and sending (publish) within Logic Apps.
Receiving Messages
To enable a trigger, we need to search for the RabbitMQ connector within our designer. We will discover an operation called When the queue has messages from RabbitMQ show up as a built-in connector. We also have a peek lock operation for non-destructive reads.
Search for Trigger and click on this operation to add the trigger to your design surface. Configure the trigger by providing the Queue Name.
You can use the payload from your trigger in downstream actions. For example, you might place the payload within a Compose action for further processing.
Publishing Messages
To send a message, search for the RabbitMQ connector in your design experience. You’ll find an operation called Send a message.
- Add this operation to your design surface and Provide the following:
- Queue Name
- Message Body
- Exchange Name (if routing is required)
- Routing Key
Once configured, you can run messages through your solution. To see this in action, refer to the demonstration video (No link found).
Completing Messages
To Complete messages, in scenarios using peek-lock, search for the RabbitMQ connector within the Logic Apps designer. You’ll find an operation called Complete message as a built-in connector. Search for the action and click on this operation to add the action to your design surface.
- Provide:
- Delivery tag
- Consumer tag
- Acknowledgment (Complete or Reject)
You can use the payload from your trigger in downstream actions. For example, you might place the payload within a Compose action for further processing. You can also create queues as well, with the Create a queue action.
Please see the following video with further details on the configuration of this connector:
Supported Regions
We are rolling out this connector worldwide, with some regions receiving it before others.