azure - 使用分区键从 Azure 服务总线队列检索消息

标签 azure azure-web-app-service azure-servicebus-queues

如果我们可以通过指定分区键来存储消息,那么我们如何通过指定分区键来检索特定分区中的所有消息?

最佳答案

根据 the documentation在启用分区的服务总线中,接收客户端不知道分区,并且其面向客户端的行为类似于普通队列和主题。现在,如果您还有 session ID属性设置好之后就可以关注 this documentation根据 session ID 接收消息。

关于azure - 使用分区键从 Azure 服务总线队列检索消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69257840/

相关文章:

azure-servicebus-queues - BrokeredMessage Azure ServiceBus 的虚假传递和接收

azure-web-app-service - Azure 逻辑应用服务总线消息内容

Azure 应用服务编辑器(摩纳哥)停止工作/无法访问 http 错误 500.1001

powershell - 如何将所有者添加到 Azure AD 中的注册应用程序

java - 记录 Azure 函数

azure - 使用 AzureWebAPP 和存储帐户进行域映射

node.js - Azure Kudu - 'npm' 未被识别为内部或外部命令

Azure 连接字符串不会覆盖 appsettings.json

azure - 如何停止为 Azure Web App 运行多个应用程序见解?

asp.net - 使用 SignalR 和 Azure 的实时通知系统