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
# Azure Service Bus client library for Python - version 7.8.3
11
+
# Azure Service Bus client library for Python - version 7.9.0
12
12
13
13
14
14
Azure Service Bus is a high performance cloud-managed messaging service for providing real-time and fault-tolerant communication between distributed senders and receivers.
@@ -22,7 +22,13 @@ Use the Service Bus client library for Python to communicate between application
22
22
* Send and receive messages within your Service Bus channels.
23
23
* Utilize message locks, sessions, and dead letter functionality to implement complex messaging patterns.
**NOTE**: If you are using version 0.50 or lower and want to migrate to the latest version
28
34
of this package please look at our [migration guide to move from Service Bus V0.50 to Service Bus V7][migration_guide].
@@ -96,9 +102,9 @@ To interact with these resources, one should be familiar with the following SDK
96
102
97
103
*[ServiceBusClient][client_reference]: This is the object a user should first initialize to connect to a Service Bus Namespace. To interact with a queue, topic, or subscription, one would spawn a sender or receiver off of this client.
98
104
99
-
*[ServiceBusSender][sender_reference]: To send messages to a Queue or Topic, one would use the corresponding `get_queue_sender` or `get_topic_sender` method off of a `ServiceBusClient` instance as seen [here](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.8.3/sdk/servicebus/azure-servicebus/samples/sync_samples/send_queue.py).
105
+
*[ServiceBusSender][sender_reference]: To send messages to a Queue or Topic, one would use the corresponding `get_queue_sender` or `get_topic_sender` method off of a `ServiceBusClient` instance as seen [here](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.9.0/sdk/servicebus/azure-servicebus/samples/sync_samples/send_queue.py).
100
106
101
-
*[ServiceBusReceiver][receiver_reference]: To receive messages from a Queue or Subscription, one would use the corresponding `get_queue_receiver` or `get_subscription_receiver` method off of a `ServiceBusClient` instance as seen [here](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.8.3/sdk/servicebus/azure-servicebus/samples/sync_samples/receive_queue.py).
107
+
*[ServiceBusReceiver][receiver_reference]: To receive messages from a Queue or Subscription, one would use the corresponding `get_queue_receiver` or `get_subscription_receiver` method off of a `ServiceBusClient` instance as seen [here](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.9.0/sdk/servicebus/azure-servicebus/samples/sync_samples/receive_queue.py).
102
108
103
109
*[ServiceBusMessage][message_reference]: When sending, this is the type you will construct to contain your payload. When receiving, this is where you will access the payload.
104
110
@@ -115,7 +121,7 @@ The following sections provide several code snippets covering some of the most c
115
121
116
122
To perform management tasks such as creating and deleting queues/topics/subscriptions, please utilize the azure-mgmt-servicebus library, available [here][servicebus_management_repository].
117
123
118
-
Please find further examples in the [samples](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.8.3/sdk/servicebus/azure-servicebus/samples) directory demonstrating common Service Bus scenarios such as sending, receiving, session management and message handling.
124
+
Please find further examples in the [samples](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.9.0/sdk/servicebus/azure-servicebus/samples) directory demonstrating common Service Bus scenarios such as sending, receiving, session management and message handling.
119
125
120
126
### Send messages to a queue
121
127
> **NOTE:** see reference documentation [here][send_reference].
@@ -142,7 +148,7 @@ with ServiceBusClient.from_connection_string(connstr) as client:
142
148
143
149
> **NOTE:** A message may be scheduled for delayed delivery using the `ServiceBusSender.schedule_messages()` method, or by specifying `ServiceBusMessage.scheduled_enqueue_time_utc` before calling `ServiceBusSender.send_messages()`
144
150
145
-
> For more detail on scheduling and schedule cancellation please see a sample [here](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.8.3/sdk/servicebus/azure-servicebus/samples/sync_samples/schedule_messages_and_cancellation.py).
151
+
> For more detail on scheduling and schedule cancellation please see a sample [here](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.9.0/sdk/servicebus/azure-servicebus/samples/sync_samples/schedule_messages_and_cancellation.py).
146
152
147
153
### Receive messages from a queue
148
154
@@ -301,7 +307,7 @@ with ServiceBusClient.from_connection_string(connstr) as client:
301
307
302
308
#### [DeadLetter][deadletter_reference]
303
309
304
-
Transfer the message from the primary queue into a special "dead-letter sub-queue" where it can be accessed using the `ServiceBusClient.get_<queue|subscription>_receiver` function with parameter `sub_queue=ServiceBusSubQueue.DEAD_LETTER` and consumed from like any other receiver. (see sample [here](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.8.3/sdk/servicebus/azure-servicebus/samples/sync_samples/receive_deadlettered_messages.py))
310
+
Transfer the message from the primary queue into a special "dead-letter sub-queue" where it can be accessed using the `ServiceBusClient.get_<queue|subscription>_receiver` function with parameter `sub_queue=ServiceBusSubQueue.DEAD_LETTER` and consumed from like any other receiver. (see sample [here](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.9.0/sdk/servicebus/azure-servicebus/samples/sync_samples/receive_deadlettered_messages.py))
305
311
306
312
```python
307
313
from azure.servicebus import ServiceBusClient
@@ -320,7 +326,7 @@ with ServiceBusClient.from_connection_string(connstr) as client:
320
326
#### [Defer][defer_reference]
321
327
322
328
Defer is subtly different from the prior settlement methods. It prevents the message from being directly received from the queue
323
-
by setting it aside such that it must be received by sequence number in a call to `ServiceBusReceiver.receive_deferred_messages` (see sample [here](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.8.3/sdk/servicebus/azure-servicebus/samples/sync_samples/receive_deferred_message_queue.py))
329
+
by setting it aside such that it must be received by sequence number in a call to `ServiceBusReceiver.receive_deferred_messages` (see sample [here](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.9.0/sdk/servicebus/azure-servicebus/samples/sync_samples/receive_deferred_message_queue.py))
324
330
325
331
```python
326
332
from azure.servicebus import ServiceBusClient
@@ -473,7 +479,7 @@ Please view the [exceptions reference docs][exception_reference] for detailed de
473
479
474
480
### More sample code
475
481
476
-
Please find further examples in the [samples](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.8.3/sdk/servicebus/azure-servicebus/samples) directory demonstrating common Service Bus scenarios such as sending, receiving, session management and message handling.
482
+
Please find further examples in the [samples](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.9.0/sdk/servicebus/azure-servicebus/samples) directory demonstrating common Service Bus scenarios such as sending, receiving, session management and message handling.
477
483
478
484
### Additional documentation
479
485
@@ -483,7 +489,7 @@ For more extensive documentation on the Service Bus service, see the [Service Bu
483
489
484
490
For users seeking to perform management operations against ServiceBus (Creating a queue/topic/etc, altering filter rules, enumerating entities)
485
491
please see the [azure-mgmt-servicebus documentation][service_bus_mgmt_docs] for API documentation. Terse usage examples can be found
486
-
[here](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.8.3/sdk/servicebus/azure-mgmt-servicebus/tests) as well.
492
+
[here](https://github.com/Azure/azure-sdk-for-python/tree/azure-servicebus_7.9.0/sdk/servicebus/azure-mgmt-servicebus/tests) as well.
0 commit comments