MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.28k stars 21.47k forks source link

Update MessageReceiver binding to indicate Track 2 class #88902

Open alexkarcher-msft opened 2 years ago

alexkarcher-msft commented 2 years ago

Hello, Since updating to the track 2 service bus SDK with extension Microsoft.Azure.WebJobs.ServiceBus 5.0.0 and above the "MessageReceiver" binding is now of type ServiceBusMessageActions and no longer a message receiver at all. Ideally the docs would be updated to highlight this breaking change, but at a minimum can we update the "MessageReceiver" binding to indicate it is used to bind to ServiceBusMessageActions?

You can reference the code now binding message action to message receiver here: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/src/Triggers/ServiceBusTriggerBindingStrategy.cs#L57-L60

Thanks!

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

mikeurnun commented 2 years ago

Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.