Skip to content

Commit 3817f56

Browse files
committed
flattened files
1 parent 19b3ba4 commit 3817f56

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
103103
> [!IMPORTANT]
104104
> The passwordless credential is provided with the [**DefaultAzureCredential**](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential).
105105
106-
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/passwordless/queues/send-queue.ts" :::
106+
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/queue-passwordless-send.ts" :::
107107
108108
3. Replace `<SERVICE-BUS-NAMESPACE>` with your Service Bus namespace.
109109
4. Replace `<QUEUE NAME>` with the name of the queue.
@@ -124,7 +124,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
124124
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/).
125125
1. In the `src` folder, create a file called `src/send.ts` and paste the below code into it. This code sends the names of scientists as messages to your queue.
126126
127-
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/connection-strings/queues/send-queue.ts" :::
127+
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/queue-connection-string-send.ts" :::
128128
129129
3. Replace `<CONNECTION STRING TO SERVICE BUS NAMESPACE>` with the connection string to your Service Bus namespace.
130130
4. Replace `<QUEUE NAME>` with the name of the queue.
@@ -151,7 +151,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
151151
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
152152
2. In the `src` folder, create a file called `receive.ts` and paste the following code into it.
153153

154-
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/passwordless/queues/receive-queue.ts" :::
154+
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/queue-passwordless-receive.ts" :::
155155

156156
3. Replace `<SERVICE-BUS-NAMESPACE>` with your Service Bus namespace.
157157
4. Replace `<QUEUE NAME>` with the name of the queue.
@@ -167,7 +167,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
167167
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
168168
2. In the `src` folder, create a file called `receive.ts` and paste the following code into it.
169169

170-
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/connection-strings/queues/receive-queue.ts" :::
170+
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/queue-connection-string-receive.ts" :::
171171

172172
3. Replace `<CONNECTION STRING TO SERVICE BUS NAMESPACE>` with the connection string to your Service Bus namespace.
173173

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
105105
> [!IMPORTANT]
106106
> The passwordless credential is provided with the [**DefaultAzureCredential**](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential).
107107
108-
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/passwordless/topics/send-topic.ts" :::
108+
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/topic-passwordless-send.ts" :::
109109
110110
3. Replace `<SERVICE BUS NAMESPACE CONNECTION STRING>` with the connection string to your Service Bus namespace.
111111
1. Replace `<TOPIC NAME>` with the name of the topic.
@@ -126,7 +126,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
126126
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
127127
2. In the `src` folder, create a file called `sendtotopic.ts` and paste the below code into it. This code will send a message to your topic.
128128
129-
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/connection-strings/topics/send-topic.ts" :::
129+
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/topic-connection-string-send.ts" :::
130130
131131
3. Replace `<SERVICE BUS NAMESPACE CONNECTION STRING>` with the connection string to your Service Bus namespace.
132132
1. Replace `<TOPIC NAME>` with the name of the topic.
@@ -153,7 +153,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
153153
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
154154
2. In the `src` folder, create a file called `receivefromsubscription.ts` and paste the following code into it. See code comments for details.
155155

156-
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/passwordless/topics/receive-topic.ts" :::
156+
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/topic-passwordless-receive.ts" :::
157157

158158
3. Replace `<SERVICE BUS NAMESPACE CONNECTION STRING>` with the connection string to the namespace.
159159
4. Replace `<TOPIC NAME>` with the name of the topic.
@@ -170,7 +170,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
170170
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
171171
2. In the `src` folder, create a file called `receivefromsubscription.js` and paste the following code into it. See code comments for details.
172172

173-
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/connection-strings/topics/receive-topic.ts" :::
173+
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/topic-connection-string-receive.ts" :::
174174

175175
3. Replace `<SERVICE BUS NAMESPACE CONNECTION STRING>` with the connection string to the namespace.
176176
4. Replace `<TOPIC NAME>` with the name of the topic.

0 commit comments

Comments
 (0)