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

[service bus] Consume messages from dead-letter (WIP) #1000

Open ribeiroplinio opened 5 years ago

ribeiroplinio commented 5 years ago

Hello,

I came across the dead-letter use case in one project and didn't find official documentation about how to consume messages from dead-letter queue in the PHP SDK. From https://stackoverflow.com/a/34343745, I've tested adding $DeadLetterQueue to the queue and topic paths.

I've tested in one project and It worked. Please let me know your thoughts about the changes. If you are considering them, I can continue working on the ServiceBusRestProxyTest tests and also add some documentation afterwards.

msftclas commented 5 years ago

CLA assistant check
All CLA requirements met.