You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/event-grid/handler-service-bus.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,17 @@
1
1
---
2
-
title: Service Bus queues and topics as event handlers for Azure Event Grid events
3
-
description: Describes how you can use Service Bus queues and topics as event handlers for Azure Event Grid events.
4
-
ms.topic: conceptual
5
-
ms.date: 04/29/2024
2
+
title: Configure Service Bus Queues and Topics as Event Handlers for Azure Event Grid
3
+
description: Learn to configure Service Bus queues and topics as event handlers for Azure Event Grid to process events in enterprise applications.
4
+
#customer intent: As a developer, I want to configure Service Bus queues or topics as event handlers so that I can process Azure Event Grid events in enterprise applications.
5
+
ms.topic: how-to
6
+
ms.date: 07/29/2025
7
+
ms.custom:
8
+
- ai-gen-docs-bap
9
+
- ai-gen-description
10
+
- ai-seo-date:07/29/2025
6
11
---
7
12
8
-
# Service Bus queues and topics as event handlers for Azure Event Grid events
9
-
An event handler receives events from an event source via Event Grid, and processes those events. You can use instances of a few Azure services to handle events and **Azure Service Bus** is one of them. This article shows you how to use a Service Bus queue or topic as a handler for events from Event Grid.
13
+
# Configure Service Bus queues and topics as event handlers for Azure Event Grid events
14
+
Azure Event Grid enables seamless event-driven architectures by routing events from sources to handlers. In this article, you'll learn how to configure Azure Service Bus queues and topics as event handlers for Event Grid events. This step-by-step guide will help you set up Service Bus queues and topics to process events in enterprise applications using the Azure portal, CLI, PowerShell, and REST APIs.
10
15
11
16
## Service Bus queues
12
17
@@ -15,7 +20,7 @@ You can route events in Event Grid directly to Service Bus queues for use in buf
15
20
### Use Azure portal
16
21
In the Azure portal, while creating an event subscription, select **Service Bus Queue** as the endpoint type and then click **select an endpoint** to choose a Service Bus queue.
17
22
18
-
:::image type="content" source="./media/handler-service-bus/queue.png" lightbox="./media/handler-service-bus/queue.png" alt-text="Screenshot showing the configuration of a Service Bus queue handler.":::
23
+
:::image type="content" source="./media/handler-service-bus/queue.png" lightbox="./media/handler-service-bus/queue.png" alt-text="Screenshot of configuring a Service Bus queue as an event handler in Azure Event Grid.":::
19
24
20
25
> [!NOTE]
21
26
> If you are using session enabled queue/topic subscription as the destination, you need to set the session property on the event using Delivery Property with the header name 'SessionId'.
@@ -208,4 +213,4 @@ For more information, see [Custom delivery properties](delivery-properties.md).
208
213
> When a failover occurs for a Service Bus namespace that's [Geo-Disaster Recovery](../service-bus-messaging/service-bus-geo-dr.md) enabled, the secondary namespace doesn't emit events to Event Grid. You need to manually add the Event Grid subscription for the secondary namespace.
209
214
210
215
## Next steps
211
-
See the [Event handlers](event-handlers.md) article for a list of supported event handlers.
216
+
See the [Event handlers](event-handlers.md) article for a list of supported event handlers.
0 commit comments