首页 > 解决方案 > 在 Azure ServiceBus 主题中查看计划消息

问题描述

如何查看 Azure 服务总线主题中的计划消息?

根据这篇文章:

https://github.com/MicrosoftDocs/azure-docs/issues/59641

Scheduled messages reside in the topic until the scheduled time, and users should peek into the topic if they want to see the scheduled messages.

所以我不能在“ServiceBusReceiver”上使用“PeekMessagesAsync”

使用“ServiceBusAdministrationClient”,我可以获得主题中计划消息的数量,但我真的很想自己掌握消息......

任何帮助将不胜感激....

标签: azure-servicebus-topicspeekmessage

解决方案


简短回答 - 您无法根据状态查看消息。现在有一个4 岁的问题要求使用此功能。


推荐阅读