Skip to content

Commit 25d67c0

Browse files
committed
Update handler-service-bus.md
1 parent 28815d5 commit 25d67c0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ You can route events in Event Grid directly to Service Bus queues for use in buf
1616
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.
1717

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.":::
19+
20+
> [!NOTE]
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'.
1922
2023
### Use Azure CLI
2124
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)