Skip to content

Files

72 lines (44 loc) · 3.43 KB

functions-bindings-rabbitmq.md

File metadata and controls

72 lines (44 loc) · 3.43 KB
title description author ms.assetid ms.topic ms.date ms.author ms.custom zone_pivot_groups
Azure RabbitMQ bindings for Azure Functions
Learn to send Azure RabbitMQ triggers and bindings in Azure Functions.
cachai2
reference
11/15/2021
cachai
programming-languages-set-functions-lang-workers

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.

::: zone pivot="programming-language-csharp"

Install extension

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

Functions execute in the same process as the Functions host. To learn more, see Develop C# class library functions using Azure Functions.

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

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

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

Functions run as C# script, which is supported primarily for C# portal editing. To update existing binding extensions for C# script apps running in the portal without having to republish your function app, see [Update your extensions].

You can install this version of the extension in your function app by registering the extension bundle, version 2.x, or a later version.


::: zone-end

::: zone pivot="programming-language-javascript,programming-language-python,programming-language-java,programming-language-powershell"

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.

::: zone-end

Next steps