Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions sdk/servicebus/azure-servicebus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# Release History

## 7.11.5 (Unreleased)
## 7.12.0 (2023-02-06)

### Features Added

### Breaking Changes

### Bugs Fixed
- Updated `max_wait_time` on the ServiceBusReceiver constructor to additionally configure the server timeout for Session-Enabled/Queues/Topics when NEXT_AVAILABLE_SESSION is set, allowing users to set a different timeout than the default 65 seconds when accepting a session.

### Other Changes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
async def message_processing(servicebus_client, queue_name):
while True:
try:
# max_wait_time below is the maximum time the receiver will wait to connect to a session and to receive messages from the service
async with servicebus_client.get_queue_receiver(queue_name, max_wait_time=1, session_id=NEXT_AVAILABLE_SESSION) as receiver:
renewer = AutoLockRenewer()
renewer.register(receiver, receiver.session)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
def message_processing(sb_client, queue_name, messages):
while True:
try:
# max_wait_time below is the maximum time the receiver will wait to connect to a session and to receive messages from the service
with sb_client.get_queue_receiver(queue_name, max_wait_time=1, session_id=NEXT_AVAILABLE_SESSION) as receiver:
renewer = AutoLockRenewer()
renewer.register(receiver, receiver.session)
Expand Down
2 changes: 1 addition & 1 deletion sdk/servicebus/azure-servicebus/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@
"Development Status :: 5 - Production/Stable",
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'License :: OSI Approved :: MIT License',
],
python_requires=">=3.7",
Expand Down