Skip to content

Commit b4171ee

Browse files
Adjust b2->b3 in docs for release. (#11884)
* Adjust b2->b3 in docs for release. * Add subsection on settlement per UX study prep observations * 0.50.2->.3 for latest historical release Co-authored-by: Adam Ling (MSFT) <[email protected]>
1 parent 5c1af52 commit b4171ee

File tree

3 files changed

+19
-14
lines changed

3 files changed

+19
-14
lines changed

sdk/servicebus/azure-servicebus/README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,11 @@ with ServiceBusClient.from_connection_string(connstr) as client:
210210
msg.defer()
211211
```
212212

213+
Other settlement methods (beyond complete and defer) include:
214+
* `dead_letter`, removing the message from the primary queue and sending it to a
215+
special "dead-letter sub-queue" where it can be accessed using the `get_queue_deadletter_receiver` function.
216+
* `abandon`, immediately returning the message back to the queue to be picked up by another (or the same) receiver.
217+
213218
## Troubleshooting
214219

215220
### Logging
@@ -269,14 +274,14 @@ contact [[email protected]](mailto:[email protected]) with any additio
269274

270275
<!-- LINKS -->
271276
[azure_cli]: https://docs.microsoft.com/cli/azure
272-
[api_docs]: https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b2/index.html
277+
[api_docs]: https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b3/index.html
273278
[product_docs]: https://docs.microsoft.com/azure/service-bus-messaging/
274279
[azure_portal]: https://portal.azure.com
275280
[azure_sub]: https://azure.microsoft.com/free/
276281
[cloud_shell]: https://docs.microsoft.com/azure/cloud-shell/overview
277282
[cloud_shell_bash]: https://shell.azure.com/bash
278283
[pip]: https://pypi.org/project/pip/
279-
[pypi]: https://pypi.org/project/azure-servicebus/7.0.0b2/
284+
[pypi]: https://pypi.org/project/azure-servicebus/7.0.0b3/
280285
[python]: https://www.python.org/downloads/
281286
[venv]: https://docs.python.org/3/library/venv.html
282287
[virtualenv]: https://virtualenv.pypa.io
@@ -294,10 +299,10 @@ contact [[email protected]](mailto:[email protected]) with any additio
294299
[servicebus_aad_authentication]: https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-authentication-and-authorization
295300
[token_credential_interface]: ../../core/azure-core/azure/core/credentials.py
296301
[pypi_azure_identity]: https://pypi.org/project/azure-identity/
297-
[0_50_source]: https://github.com/Azure/azure-sdk-for-python/tree/servicebus_v0.50.2/sdk/servicebus/azure-servicebus/
302+
[0_50_source]: https://github.com/Azure/azure-sdk-for-python/tree/servicebus_v0.50.3/sdk/servicebus/azure-servicebus/
298303
[0_50_pypi]: https://pypi.org/project/azure-servicebus/
299-
[0_50_api_docs]:https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/0.50.2/index.html
304+
[0_50_api_docs]:https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/0.50.3/index.html
300305
[0_50_product_docs]: https://docs.microsoft.com/azure/service-bus-messaging/
301-
[0_50_samples]: https://github.com/Azure/azure-sdk-for-python/tree/servicebus_v0.50.2/sdk/servicebus/azure-servicebus/samples
302-
[0_50_changelog]: https://github.com/Azure/azure-sdk-for-python/blob/servicebus_v0.50.2/sdk/servicebus/azure-servicebus/CHANGELOG.md
306+
[0_50_samples]: https://github.com/Azure/azure-sdk-for-python/tree/servicebus_v0.50.3/sdk/servicebus/azure-servicebus/samples
307+
[0_50_changelog]: https://github.com/Azure/azure-sdk-for-python/blob/servicebus_v0.50.3/sdk/servicebus/azure-servicebus/CHANGELOG.md
303308
[migration_guide]: ./migration_guide.md

sdk/servicebus/azure-servicebus/migration_guide.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ Note: The large version gap is in order to normalize service bus SDK versions ac
1414

1515
### Specific clients for sending and receiving
1616
In v7 we've simplified the API surface, making two distinct clients, rather than one for each of queue, topic, and subscription:
17-
* `ServiceBusSender` for sending messages. [Sync API](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b2/azure.servicebus.html#azure.servicebus.ServiceBusSender)
18-
and [Async API](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b2/azure.servicebus.aio.html#azure.servicebus.aio.ServiceBusSender)
19-
* `ServiceBusReceiver` for receiving messages. [Sync API](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b2/azure.servicebus.html#azure.servicebus.ServiceBusReceiver)
20-
and [Async API](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b2/azure.servicebus.aio.html#azure.servicebus.aio.ServiceBusReceiver)
21-
* `ServiceBusSessionReceiver` for receiving messages from a session. [Sync API](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b2/azure.servicebus.html#azure.servicebus.ServiceBusSessionReceiver)
22-
and [Async API](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b2/azure.servicebus.aio.html#azure.servicebus.aio.ServiceBusSessionReceiver)
17+
* `ServiceBusSender` for sending messages. [Sync API](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b3/azure.servicebus.html#azure.servicebus.ServiceBusSender)
18+
and [Async API](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b3/azure.servicebus.aio.html#azure.servicebus.aio.ServiceBusSender)
19+
* `ServiceBusReceiver` for receiving messages. [Sync API](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b3/azure.servicebus.html#azure.servicebus.ServiceBusReceiver)
20+
and [Async API](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b3/azure.servicebus.aio.html#azure.servicebus.aio.ServiceBusReceiver)
21+
* `ServiceBusSessionReceiver` for receiving messages from a session. [Sync API](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b3/azure.servicebus.html#azure.servicebus.ServiceBusSessionReceiver)
22+
and [Async API](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b3/azure.servicebus.aio.html#azure.servicebus.aio.ServiceBusSessionReceiver)
2323

2424
As a user this will be largely transparent to you, as initialization will still occur primarily via the top level ServiceBusClient,
2525
the primary difference will be that rather than creating a queue_client, for instance, and then a sender off of that, you would simply

sdk/servicebus/azure-servicebus/samples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ urlFragment: servicebus-samples
1111
# Azure Service Bus client library for Python Samples
1212

1313
> **NOTE**: This document outlines the samples for the **preview** of the next version of the `azure-servicebus` package
14-
> which has different APIs than the current version (0.50). Please visit [this link](https://github.com/Azure/azure-sdk-for-python/tree/servicebus_v0.50.2/sdk/servicebus/azure-servicebus/samples) for samples of the existing library.
14+
> which has different APIs than the current version (0.50). Please visit [this link](https://github.com/Azure/azure-sdk-for-python/tree/servicebus_v0.50.3/sdk/servicebus/azure-servicebus/samples) for samples of the existing library.
1515
1616
These are code samples that show common scenario operations with the Azure Service Bus client library.
1717
Both [sync version](./sync_samples) and [async version](./async_samples) of samples are provided, async samples require Python 3.5 or later.
@@ -76,5 +76,5 @@ pip install --pre azure-servicebus
7676

7777
## Next steps
7878

79-
Check out the [API reference documentation](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b2/index.html) to learn more about
79+
Check out the [API reference documentation](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/7.0.0b3/index.html) to learn more about
8080
what you can do with the Azure Service Bus client library.

0 commit comments

Comments
 (0)