Azure / azure-sdk-for-php

Microsoft Azure SDK for PHP
http://azure.microsoft.com/en-us/develop/php/
Apache License 2.0
415 stars 273 forks source link

no ability to explicitly DeadLetter a brokered message #983

Open jeremyfrench opened 6 years ago

jeremyfrench commented 6 years ago

With .net you can send a message to the dead letter queue with an explicit reason https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.servicebus.queueclient.deadletterasync?view=azure-dotnet

However, with the php client, it looks like this functionality is not available. I can't see if it is available on the HTTP rest client as yet, I saw this https://stackoverflow.com/a/20533304/56672 which indicated it was planned as a feature in 2013

If someone can point me in the direction of the http rest docs I can look at creating a PR.

I realise that after enough rejections a message will end up on the dead letter queue anyway, but it would be good if I can give a reason.

jeremyfrench commented 6 years ago

It looks like there is still missing functionality with the rest API.

https://github.com/Azure/azure-service-bus/issues/8

nuil commented 5 years ago

Hi,

any news regarding this issue?