7.11.0-beta.1 (2022-09-06)
Features Added
- Added
DeadletterMessageAsync
overload that allows passing the properties dictionary in addition to the deadletter error reason and description. - Added
PeekMessagesAsync
method toProcessorReceiveActions
.
Breaking Changes
- Improved performance of sending messages by using the
ServiceBusMessageBatch
type, by caching the underlying AMQP message as opposed to recalculating it when sending. Because of this change, any changes to aServiceBusMessage
after it has already been added to the batch will no longer be reflected in the batch and what is ultimately sent to the service. To avoid any issues from this change, ensure that yo are not modifying theServiceBusMessage
after adding it to a batch.
Bugs Fixed
- Fixed performance issues in the
ServiceBusSessionProcessor
that could lead to thread starvation when using a high number of concurrent sessions. - Fixed diagnostic tracing of the
ServiceBusReceiver.Receive
operation to correctly include links to theMessage
operation for the received messages. - Fixed issue where the TryTimeout was not respected for times over 1 minute and 5 seconds when attempting to accept the next available session.
Other Changes
- Improved performance of sending messages by using the
ServiceBusMessageBatch
type, by caching the underlying AMQP message as opposed to recalculating it when sending.