Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[Service Bus] There is no obvious way to retrieve messages from the dead letter queue #4660

Closed
MLoughry opened this issue Feb 8, 2019 · 1 comment · Fixed by #4661
Closed

Comments

@MLoughry
Copy link

MLoughry commented Feb 8, 2019

Currently, there's no available method on the ServiceBusService object, not any other mechanism I can find, to read messages from a dead letter queue.

Doing some quick research on the .NET client, it seems that all QueueClient.FormatDeadLetterPath() does is simply append /$DeadLetterQueue, so I can probably send a quick PR out for this. However, this isn't documented in the Service Bus dead-letter queue docs.

MLoughry pushed a commit to MLoughry/azure-sdk-for-node that referenced this issue Feb 8, 2019
@amarzavery
Copy link
Contributor

@MLoughry - Please try out the new servicebus sdk npm i @azure/service-bus. The sdk has been moved to https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus . The specific example of receiving messages from a DeadLetter Queue can be found here.

In future please open service bus related issues in the new repo https://github.com/Azure/azure-sdk-for-js

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants