azure-sdk-for-js/sdk/servicebus
Jeremy Meng 0c82aca851
[ServiceBus] fix issue of accepting session with empty string name (#31736)
We have a check for when asking for any session, i.e., not providing a
session id), but not receiving a link having a session id. However, the
check is `if (!this._providedSessionId && !receivedSessionId)` which
also evaluates to `true` for session id of empty string, which is valid
session id.

This PR changes it to check for `undefined` so that session id of empty
string doesn't lead to error being thrown.
2024-11-20 15:22:18 -08:00
..
arm-servicebus [EngSys] move to vendored version of cross-env via dev-tool 2024-11-02 00:48:06 +00:00
perf-tests [EngSys] remove "audit" NPM script and it's related file 2024-10-25 19:28:06 +00:00
service-bus [ServiceBus] fix issue of accepting session with empty string name (#31736) 2024-11-20 15:22:18 -08:00
README.md Rename hardcoded master links to use main 2021-06-22 15:51:16 -07:00
ci.mgmt.yml refresh-16 (#21705) 2022-05-05 17:10:06 +08:00
ci.yml refresh-16 (#21705) 2022-05-05 17:10:06 +08:00
test-resources.bicep [Service Bus] Migrate to bicep (#30847) 2024-08-21 14:16:06 -07:00

README.md

Azure Service Bus client libraries for JavaScript

Azure Service Bus is a highly-reliable cloud messaging service from Microsoft and a fully managed enterprise integration message broker.

Libraries for resource management

To manage your Azure Service Bus resources like namespaces, queues, topics, subscriptions and rules via the Azure Resource Manager, you would use the below package.

NPM Package Reference
@azure/arm-servicebus API Reference for @azure/arm-servicebus

Libraries for data access

To send and receive messages from an Azure Service Bus queue, topic or subscription, you would use the below package. This also allows to manage your Azure Service Bus resources like queues, topics, subscriptions and rules, but not the namespace itself.

NPM Package Reference Samples
@azure/service-bus API Reference for @azure/service-bus Samples for sending & receiving messages

Impressions