Skip to content

Commit 16db8e8

Browse files
Merge pull request #246262 from ecfan/service-bus
Azure Logic Apps: [GitHub 754][Standard] Service Bus built-in connector Read from dead-letter queues
2 parents 3e9e847 + c8aeefe commit 16db8e8

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

articles/connectors/connectors-create-api-servicebus.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, azla
77
ms.topic: how-to
8-
ms.date: 06/13/2023
8+
ms.date: 07/25/2023
99
ms.custom: engagement-fy23
1010
tags: connectors
1111
---
@@ -35,7 +35,7 @@ The Service Bus connector has different versions, based on [logic app workflow t
3535
|-----------|-------------|-------------------|
3636
| **Consumption** | Multi-tenant Azure Logic Apps | Managed connector (Standard class). For more information, review the following documentation: <br><br>- [Service Bus managed connector reference](/connectors/servicebus/) <br>- [Managed connectors in Azure Logic Apps](managed.md) |
3737
| **Consumption** | Integration service environment (ISE) | Managed connector (Standard class) and ISE version, which has different message limits than the Standard class. For more information, review the following documentation: <br><br>- [SQL Server managed connector reference](/connectors/sql) <br>- [ISE message limits](../logic-apps/logic-apps-limits-and-config.md#message-size-limits) <br>- [Managed connectors in Azure Logic Apps](managed.md) |
38-
| **Standard** | Single-tenant Azure Logic Apps and App Service Environment v3 (Windows plans only) | Managed connector (Azure-hosted) and built-in connector, which is [service provider based](../logic-apps/custom-connector-overview.md#service-provider-interface-implementation). The built-in version usually provides better performance, capabilities, pricing, and so on. <br><br>For more information, review the following documentation: <br><br>- [Service Bus managed connector reference](/connectors/servicebus/) <br>- [Service Bus built-in connector operations](#built-in-connector-operations) section later in this article <br>- [Built-in connectors in Azure Logic Apps](built-in.md) |
38+
| **Standard** | Single-tenant Azure Logic Apps and App Service Environment v3 (Windows plans only) | Managed connector (Azure-hosted) and built-in connector, which is [service provider based](../logic-apps/custom-connector-overview.md#service-provider-interface-implementation). The built-in version usually provides better performance, capabilities, pricing, and so on. <br><br>**Note**: Service Bus built-in connector triggers follow the [*polling trigger*](introduction.md#triggers) pattern, which means that the trigger continually checks for messages in the queue or topic subscription. <br><br>For more information, review the following documentation: <br><br>- [Service Bus managed connector reference](/connectors/servicebus/) <br>- [Service Bus built-in connector operations](/azure/logic-apps/connectors/built-in/reference/servicebus) <br>- [Built-in connectors in Azure Logic Apps](built-in.md) |
3939

4040
## Prerequisites
4141

@@ -527,29 +527,27 @@ The built-in Service Bus connector is a stateless connector, by default. To run
527527

528528
---
529529

530-
<a name="built-in-connector-operations"></a>
530+
<a name="built-in-connector-app-settings"></a>
531531

532-
## Service Bus built-in connector operations
532+
## Service Bus built-in connector app settings
533533

534-
The Service Bus built-in connector is available only for Standard logic app workflows and provides the following triggers and actions:
534+
In a Standard logic app resource, the Service Bus built-in connector includes app settings that control various thresholds, such as timeout for sending messages and number of message senders per processor core in the message pool. For more information, review [Reference for app settings - local.settings.json](../logic-apps/edit-app-settings-host-settings.md#reference-local-settings-json).
535535

536-
| Trigger | Description |
537-
|-------- |-------------|
538-
| When messages are available in a queue | Start a workflow when one or more messages are available in a queue. |
539-
| When messages are available in a topic subscription | Start a workflow when one or more messages are available in a topic subscription. |
536+
<a name="read-messages-dead-letter-queues"></a>
540537

541-
These Service Bus triggers follow the *polling trigger* pattern, which means that the trigger continually checks for messages in the queue or topic subscription. For more general information about polling triggers, review [Triggers](introduction.md#triggers).
538+
## Read messages from dead-letter queues with Service Bus built-in triggers
542539

543-
| Action | Description |
544-
|--------|-------------|
545-
| Send message | Send a message to a queue or topic. |
546-
| Send multiple messages | Send more than one message to a queue or topic. |
540+
In Standard workflows, to read a message from a dead-letter queue in a queue or a topic subscription, follow these steps using the specified triggers:
547541

548-
<a name="built-in-connector-app-settings"></a>
542+
1. In your blank workflow, based on your scenario, add the Service Bus *built-in* connector trigger named **When messages are available in a queue** or **When a message are available in a topic subscription (peek-lock)**.
549543

550-
## Service Bus built-in connector app settings
544+
1. In the trigger, set the following parameter values to specify your queue or topic subscription's default dead-letter queue, which you can access like any other queue:
551545

552-
In a Standard logic app resource, the Service Bus built-in connector includes app settings that control various thresholds, such as timeout for sending messages and number of message senders per processor core in the message pool. For more information, review [Reference for app settings - local.settings.json](../logic-apps/edit-app-settings-host-settings.md#reference-local-settings-json).
546+
* **When messages are available in a queue** trigger: Set the **Queue name** parameter to **queuename/$deadletterqueue**.
547+
548+
* **When a message are available in a topic subscription (peek-lock)** trigger: Set the **Topic name** parameter to **topicname/Subscriptions/subscriptionname/$deadletterqueue**.
549+
550+
For more information, see [Service Bus dead-letter queues overview](../service-bus-messaging/service-bus-dead-letter-queues.md#path-to-the-dead-letter-queue).
553551

554552
## Troubleshooting
555553

0 commit comments

Comments
 (0)