Rediger

Del via


RabbitMQ bindings for Azure Functions overview

Note

The RabbitMQ bindings are only fully supported on Premium and Dedicated App Service plans. Consumption plans aren't supported.
RabbitMQ bindings are only supported for Azure Functions version 3.x and later versions.

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

Prerequisites

Before working with the RabbitMQ extension, you must set up your RabbitMQ endpoint. To learn more about RabbitMQ, see the getting started page.

Install extension

The extension NuGet package you install depends on the C# mode you're using in your function app:

Functions execute in an isolated C# worker process. To learn more, see Guide for running C# Azure Functions in an isolated worker process.

Add the extension to your project by installing this NuGet package.

Install bundle

The RabbitMQ extension is part of an extension bundle, which is specified in your host.json project file. When you create a project that targets version 3.x or later, you should already have this bundle installed. To learn more, see extension bundle.

Next steps