You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ServiceBus] Add a sample of authenticating with AzureNamedKeyCredential (Azure#22657)
* [ServiceBus] Add a sample of authenticating with AzureNamedKeyCredential
- add sample
- add a new auth rule and related env variables in test-resources.json
- update sample.env to have the new env variables
- use SERVICEBUS_HOSTNAME because the service endpoint contains https:// at the beginning and should not be sent to service.
|[sendMessages.js][sendmessages]| Demonstrates how to send messages to Service Bus Queue/Topic |
18
-
|[receiveMessagesLoop.js][receivemessagesloop]| Demonstrates how to receive Service Bus messages in a loop |
19
-
|[receiveMessagesStreaming.js][receivemessagesstreaming]| Demonstrates how to receive Service Bus messages in a stream |
20
-
|[usingAadAuth.js][usingaadauth]| This sample how to create a namespace using AAD token credentials |
21
-
|[browseMessages.js][browsemessages]| Demonstrates how to browse a Service Bus message |
22
-
|[session.js][session]| Demonstrates how to send/receive messages to/from session enabled queues/subscriptions in Service Bus |
23
-
|[scheduledMessages.js][scheduledmessages]| Demonstrates how to schedule messages to appear on a Service Bus Queue/Subscription at a later time |
24
-
|[useProxy.js][useproxy]| This sample demonstrates how to create a ServiceBusClient meant to be used in an environment where outgoing network requests have to go through a proxy server |
25
-
|[advanced/administrationClient.js][advanced_administrationclient]| Demonstrates how to manage the resources of a service bus namespace. |
26
-
|[advanced/sessionRoundRobin.js][advanced_sessionroundrobin]| Demonstrates how to continually read through all the available sessions |
27
-
|[advanced/deferral.js][advanced_deferral]| Demonstrates how to defer a message for later processing. |
28
-
|[advanced/listingEntities.js][advanced_listingentities]| Demonstrates how the ServiceBusAdministrationClient can be used to list the entities of a service bus namespace |
29
-
|[advanced/sessionState.js][advanced_sessionstate]| Demonstrates usage of SessionState. |
30
-
|[advanced/movingMessagesToDLQ.js][advanced_movingmessagestodlq]| Demonstrates scenarios as to how a Service Bus message can be explicitly moved to the DLQ |
31
-
|[advanced/processMessageFromDLQ.js][advanced_processmessagefromdlq]| Demonstrates retrieving a message from a dead letter queue, editing it and sending it back to the main queue |
|[sendMessages.js][sendmessages]| Demonstrates how to send messages to Service Bus Queue/Topic |
18
+
|[topicSubscriptionWithRuleOperationsSample.js][topicsubscriptionwithruleoperationssample]| Demonstrates how to filter messages in Service Bus |
19
+
|[receiveMessagesLoop.js][receivemessagesloop]| Demonstrates how to receive Service Bus messages in a loop |
20
+
|[receiveMessagesStreaming.js][receivemessagesstreaming]| Demonstrates how to receive Service Bus messages in a stream |
21
+
|[usingAadAuth.js][usingaadauth]| This sample how to create a namespace using AAD token credentials |
22
+
|[usingNamedKeyCredential.js][usingnamedkeycredential]| This sample demonstrates how to authenticate using AzureNamedKeyCredential |
23
+
|[browseMessages.js][browsemessages]| Demonstrates how to browse a Service Bus message |
24
+
|[session.js][session]| Demonstrates how to send/receive messages to/from session enabled queues/subscriptions in Service Bus |
25
+
|[scheduledMessages.js][scheduledmessages]| Demonstrates how to schedule messages to appear on a Service Bus Queue/Subscription at a later time |
26
+
|[useProxy.js][useproxy]| This sample demonstrates how to create a ServiceBusClient meant to be used in an environment where outgoing network requests have to go through a proxy server |
27
+
|[advanced/administrationClient.js][advanced_administrationclient]| Demonstrates how to manage the resources of a service bus namespace. |
28
+
|[advanced/ruleManager.js][advanced_rulemanager]| Demonstrates how to manage subscription-level rules using RuleManager. |
29
+
|[advanced/sessionRoundRobin.js][advanced_sessionroundrobin]| Demonstrates how to continually read through all the available sessions |
30
+
|[advanced/deferral.js][advanced_deferral]| Demonstrates how to defer a message for later processing. |
31
+
|[advanced/listingEntities.js][advanced_listingentities]| Demonstrates how the ServiceBusAdministrationClient can be used to list the entities of a service bus namespace |
32
+
|[advanced/sessionState.js][advanced_sessionstate]| Demonstrates usage of SessionState. |
33
+
|[advanced/movingMessagesToDLQ.js][advanced_movingmessagestodlq]| Demonstrates scenarios as to how a Service Bus message can be explicitly moved to the DLQ |
34
+
|[advanced/processMessageFromDLQ.js][advanced_processmessagefromdlq]| Demonstrates retrieving a message from a dead letter queue, editing it and sending it back to the main queue |
35
+
|[exceedMaxDeliveryCount.js][exceedmaxdeliverycount]| Demonstrates exceeding the max delivery count, then processing the messages sent to the dead letter queue |
0 commit comments