RabbitMQ bindings for Azure Functions overview
Note
The RabbitMQ bindings are only fully supported on Premium and Dedicated plans. Consumption is not supported.
Azure Functions integrates with RabbitMQ via triggers and bindings. The Azure Functions RabbitMQ extension allows you to send and receive messages using the RabbitMQ API with Functions.
Action | Type |
---|---|
Run a function when a RabbitMQ message comes through the queue | Trigger |
Send RabbitMQ messages | Output binding |
Add to your Functions app
To get started with developing with this extension, make sure you first set up a RabbitMQ endpoint. To learn more about RabbitMQ, check out their getting started page.
Functions 3.x and higher
Working with the trigger and bindings requires that you reference the appropriate package. The NuGet package is used for .NET class libraries while the extension bundle is used for all other application types.
Language | Add by... | Remarks |
---|---|---|
C# | Installing the NuGet package, version 4.x | |
C# Script, Java, JavaScript, Python, PowerShell | Registering the extension bundle | The Azure Tools extension is recommended to use with Visual Studio Code. |
C# Script (online-only in Azure portal) | Adding a binding | To update existing binding extensions without having to republish your function app, see Update your extensions. |
Functions 1.x and 2.x
RabbitMQ Binding extensions are not supported for Functions 1.x and 2.x. Please use Functions 3.x and higher.