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] Migrate servicebus projects to use snippets extraction (#33267)
### Packages impacted by this PR
- @Azure/service-bus
### Issues associated with this PR
- #32416
### Describe the problem that is addressed by this PR
Updates all projects under `servicebus` to use snippets extraction.
### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?
### Are there test cases added in this PR? _(If not, why?)_
### Provide a list of related PRs _(if any)_
### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_
### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
@@ -435,7 +490,11 @@ You can read more about how sessions work [here][docsms_messagesessions].
435
490
436
491
Note: Service Bus doesn't support setting CORS rules for namespaces yet, hence `ServiceBusAdministrationClient` won't work in the browser without disabling web-security. For more info, refer [here](https://github.com/Azure/azure-sdk-for-js/issues/4983).
@@ -518,8 +577,6 @@ directory for detailed examples on how to use this library to send and receive m
518
577
519
578
If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.
Copy file name to clipboardexpand all lines: sdk/servicebus/service-bus/migrationguide.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
<!-- dev-tool snippets ignore -->
2
+
1
3
# Guide to migrate from @azure/service-bus v1 to v7
2
4
3
5
This guide is intended to assist in the migration from version 1 of the Service Bus client library `@azure/service-bus` to version 7 of the same library. It will focus on side-by-side comparisons for similar operations between the two packages.
@@ -261,8 +263,6 @@ Additionally, since a message cannot be settled if the receiver that was used to
261
263
- Optional [prefetch](https://learn.microsoft.com/azure/service-bus-messaging/service-bus-prefetch) support to speed up the message flow by having a message readily available for local retrieval when and before the application asks for one.
262
264
- An optional method on `ServiceBusSender` to allow pre-initializing the sender link to remove the upfront cost from the first send operation.
263
265
264
-
265
-
266
266
## Additional samples
267
267
268
268
More examples can be found at [Samples for @azure/service-bus](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus/samples/)
0 commit comments