Azure / azure-sdk-for-rust

This repository is for active development of the *unofficial* Azure SDK for Rust. This repository is *not* supported by the Azure SDK team.
MIT License
676 stars 231 forks source link

Adding BrokerProperties when sending message to queue or topic #1693

Open Gaelik-git opened 3 days ago

Gaelik-git commented 3 days ago

Following this documentation : https://learn.microsoft.com/en-us/rest/api/servicebus/message-headers-and-properties#message-headers

I would like the possibility to set an ScheduledEnqueueTimeUtc (other option could be added in the future)

I updated the existing send_message method, making to modification a breaking change. Do you think it's ok like this ? Should I create a new method for sending messages with options set ?

Thanks