Skip to content

Commit 21cffa9

Browse files
authored
Merge pull request #106576 from spelluru/ehubqs0304
only the latest package one in quick starts
2 parents 3053837 + b80a343 commit 21cffa9

5 files changed

+14
-29
lines changed

articles/service-bus-messaging/TOC.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@
2828
- name: Java
2929
href: service-bus-java-how-to-use-queues.md
3030
- name: Node.js
31-
items:
32-
- name: azure/service-bus package
33-
href: service-bus-nodejs-how-to-use-queues-new-package.md
34-
- name: azure-sb package
35-
href: service-bus-nodejs-how-to-use-queues.md
31+
href: service-bus-nodejs-how-to-use-queues-new-package.md
3632
- name: PHP
3733
href: service-bus-php-how-to-use-queues.md
3834
- name: Python
@@ -54,11 +50,7 @@
5450
- name: Java
5551
href: service-bus-java-how-to-use-topics-subscriptions.md
5652
- name: Node.js
57-
items:
58-
- name: azure/service-bus package
59-
href: service-bus-nodejs-how-to-use-topics-subscriptions-new-package.md
60-
- name: azure-sb package
61-
href: service-bus-nodejs-how-to-use-topics-subscriptions.md
53+
href: service-bus-nodejs-how-to-use-topics-subscriptions-new-package.md
6254
- name: PHP
6355
href: service-bus-php-how-to-use-topics-subscriptions.md
6456
- name: Python
@@ -184,6 +176,10 @@
184176
href: service-bus-end-to-end-tracing.md
185177
- name: Build a multi-tier Service Bus application
186178
href: service-bus-dotnet-multi-tier-app-using-service-bus-queues.md
179+
- name: Send and receive messages from queues (legacy azure-sb)
180+
href: service-bus-nodejs-how-to-use-queues.md
181+
- name: Publish and subscribe for messages (legacy azure-sb)
182+
href: service-bus-nodejs-how-to-use-topics-subscriptions.md
187183
- name: Manage
188184
items:
189185
- name: Use Azure PowerShell to provision entities

articles/service-bus-messaging/service-bus-nodejs-how-to-use-queues-new-package.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ ms.author: aschhab
1717

1818
---
1919
# Quickstart: How to use Service Bus queues with Node.js and the azure/service-bus package
20-
> [!div class="op_multi_selector" title1="Programming language" title2="Node.js pacakge"]
21-
> - [(Node.js | azure-sb)](service-bus-nodejs-how-to-use-queues.md)
22-
> - [(Node.js | @azure/service-bus)](service-bus-nodejs-how-to-use-queues-new-package.md)
23-
2420
In this tutorial, you learn how to write a Nodejs program to send messages to and receive messages from a Service Bus queue using the new [@azure/service-bus](https://www.npmjs.com/package/@azure/service-bus) package. This package uses the faster [AMQP 1.0 protocol](service-bus-amqp-overview.md) whereas the older [azure-sb](https://www.npmjs.com/package/azure-sb) package used [Service Bus REST run-time APIs](/rest/api/servicebus/service-bus-runtime-rest). The samples are written in JavaScript.
2521

2622
## Prerequisites

articles/service-bus-messaging/service-bus-nodejs-how-to-use-queues.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ ms.custom: seo-javascript-september2019, seo-javascript-october2019
1919

2020
---
2121
# Quickstart: Use Service Bus queues in Azure with Node.js and the azure-sb package
22-
23-
> [!div class="op_multi_selector" title1="Programming language" title2="Node.js pacakge"]
24-
> - [(Node.js | azure-sb)](service-bus-nodejs-how-to-use-queues.md)
25-
> - [(Node.js | @azure/service-bus)](service-bus-nodejs-how-to-use-queues-new-package.md)
26-
2722
In this tutorial, you learn how to create Node.js applications to send messages to and receive messages from an Azure Service Bus queue using the [azure-sb](https://www.npmjs.com/package/azure-sb) package. The samples are written in JavaScript and use the Node.js [Azure module](https://www.npmjs.com/package/azure) which internally uses the azure-sb package.
2823

29-
The [azure-sb](https://www.npmjs.com/package/azure-sb) package uses [Service Bus REST run-time APIs](/rest/api/servicebus/service-bus-runtime-rest). You can get a faster experience using the new [@azure/service-bus](https://www.npmjs.com/package/@azure/service-bus) which uses the faster [AMQP 1.0 protocol](service-bus-amqp-overview.md). To learn more about the new package, see [How to use Service Bus queues with Node.js and @azure/service-bus package](https://docs.microsoft.com/azure/service-bus-messaging/service-bus-nodejs-how-to-use-queues-new-package), otherwise continue reading to see how to use the [azure](https://www.npmjs.com/package/azure) package.
24+
> [!IMPORTANT]
25+
> The [azure-sb](https://www.npmjs.com/package/azure-sb) package uses [Service Bus REST run-time APIs](/rest/api/servicebus/service-bus-runtime-rest). You can get a faster experience using the new [@azure/service-bus](https://www.npmjs.com/package/@azure/service-bus) which uses the faster [AMQP 1.0 protocol](service-bus-amqp-overview.md).
26+
>
27+
> To learn more about the new package, see [How to use Service Bus queues with Node.js and @azure/service-bus package](https://docs.microsoft.com/azure/service-bus-messaging/service-bus-nodejs-how-to-use-queues-new-package), otherwise continue reading to see how to use the [azure](https://www.npmjs.com/package/azure) package.
3028
3129
## Prerequisites
3230
- An Azure subscription. To complete this tutorial, you need an Azure account. You can activate your [MSDN subscriber benefits](https://azure.microsoft.com/pricing/member-offers/credit-for-visual-studio-subscribers/?WT.mc_id=A85619ABF) or sign up for a [free account](https://azure.microsoft.com/free/?WT.mc_id=A85619ABF).

articles/service-bus-messaging/service-bus-nodejs-how-to-use-topics-subscriptions-new-package.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ ms.author: aschhab
1818

1919
---
2020
# Quickstart: How to use Service Bus topics and subscriptions with Node.js and the azure/service-bus package
21-
> [!div class="op_multi_selector" title1="Programming language" title2="Node.js pacakge"]
22-
> - [(Node.js | azure-sb)](service-bus-nodejs-how-to-use-topics-subscriptions.md)
23-
> - [(Node.js | @azure/service-bus)](service-bus-nodejs-how-to-use-topics-subscriptions-new-package.md)
24-
2521
In this tutorial, you learn how to write a Node.js program to send messages to a Service Bus topic and receive messages from a Service Bus subscription using the new [@azure/service-bus](https://www.npmjs.com/package/@azure/service-bus) package. This package uses the faster [AMQP 1.0 protocol](service-bus-amqp-overview.md) whereas the older [azure-sb](https://www.npmjs.com/package/azure-sb) package used [Service Bus REST run-time APIs](/rest/api/servicebus/service-bus-runtime-rest). The samples are written in JavaScript.
2622

2723
## Prerequisites

articles/service-bus-messaging/service-bus-nodejs-how-to-use-topics-subscriptions.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ ms.author: aschhab
1818

1919
---
2020
# Quickstart: How to Use Service Bus topics and subscriptions with Node.js and the azure-sb package
21-
> [!div class="op_multi_selector" title1="Programming language" title2="Node.js pacakge"]
22-
> - [(Node.js | azure-sb)](service-bus-nodejs-how-to-use-topics-subscriptions.md)
23-
> - [(Node.js | @azure/service-bus)](service-bus-nodejs-how-to-use-topics-subscriptions-new-package.md)
24-
2521
In this tutorial, you learn how to create Node.js applications to send messages to a Service Bus topic and receive messages from a Service Bus subscription using the [azure-sb](https://www.npmjs.com/package/azure-sb) package. The samples are written in JavaScript and use the Node.js [Azure module](https://www.npmjs.com/package/azure) which internally uses the `azure-sb` package.
2622

27-
The [azure-sb](https://www.npmjs.com/package/azure-sb) package uses [Service Bus REST run-time APIs](/rest/api/servicebus/service-bus-runtime-rest). You can get a faster experience using the new [@azure/service-bus](https://www.npmjs.com/package/@azure/service-bus) package which uses the faster [AMQP 1.0 protocol](service-bus-amqp-overview.md). To learn more about the new package, see [How to use Service Bus topics and subscriptions with Node.js and @azure/service-bus package](https://docs.microsoft.com/azure/service-bus-messaging/service-bus-nodejs-how-to-use-topics-subscriptions-new-package), otherwise continue reading to see how to use the [azure](https://www.npmjs.com/package/azure) package.
23+
> [!IMPORTANT]
24+
> The [azure-sb](https://www.npmjs.com/package/azure-sb) package uses [Service Bus REST run-time APIs](/rest/api/servicebus/service-bus-runtime-rest). You can get a faster experience using the new [@azure/service-bus](https://www.npmjs.com/package/@azure/service-bus) package which uses the faster [AMQP 1.0 protocol](service-bus-amqp-overview.md).
25+
>
26+
> To learn more about the new package, see [How to use Service Bus topics and subscriptions with Node.js and @azure/service-bus package](https://docs.microsoft.com/azure/service-bus-messaging/service-bus-nodejs-how-to-use-topics-subscriptions-new-package), otherwise continue reading to see how to use the [azure](https://www.npmjs.com/package/azure) package.
2827
2928
The scenarios covered here include:
3029

0 commit comments

Comments
 (0)