Skip to content

Commit 33af2a2

Browse files
Merge pull request #291431 from robece/main
Update handler-service-bus.md
2 parents 3adc1de + 25d67c0 commit 33af2a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/event-grid/handler-service-bus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ In the Azure portal, while creating an event subscription, select **Service Bus
1818
:::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.":::
1919

2020
> [!NOTE]
21-
> Session enabled queues are not supported as event handlers for Azure Event Grid events
21+
> 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'.
2222
2323
### Use Azure CLI
2424
Use the [`az eventgrid event-subscription create`](/cli/azure/eventgrid/event-subscription) command with `--endpoint-type` set to `servicebusqueue` and `--endpoint` set to `/subscriptions/{AZURE SUBSCRIPTION}/resourceGroups/<RESOURCE GROUP NAME>/providers/Microsoft.ServiceBus/namespaces/<NAMESPACE NAME>/queues/<QUEUE NAME>`. Here's an example:

0 commit comments

Comments
 (0)