Azure服务总线和消息传递会话 [英] Azure Service Bus and Messaging Sessions

查看:92
本文介绍了Azure服务总线和消息传递会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在研究Azure服务总线队列( Azure存储队列)。我已阅读的所有详细信息都表明它支持 FIFO语义,但仅在消息传递会话的上下文。问题是我似乎找不到关于Azure中确切含义的任何信息。这是WCF构造,还是Azure Service Bus特有的构造?我以为它与本地交易无关,但我不是100%肯定。

I've been looking into Azure Service Bus Queues (NOT Azure Storage Queues). All of the details that I have read indicate that it supports FIFO semantics, but only in the context of a "Messaging Session". The problem is that I can't seem to find any information on what exactly this is in the context of Azure. Is this a WCF construct, or something that is particular to Azure Service Bus? I assume that it does not relate to local transactions, but I am not 100% sure.

任何指针都将非常有帮助。谢谢!

Any pointers would be very helpful. Thanks!

推荐答案

具体地说,它指的是 MessageSession ,它是 AcceptMessageSession 方法通过仅返回给定会话ID的消息来保存密钥,该序列可能暗示某些排序。 代理消息:会话消息示例应有助于阐明,并且最佳做法文档是另一个很好的参考。

Specifically it refers to MessageSession, and it's the AcceptMessageSession method that holds the key by returning messages only for a given session id, which could be a sequence implying some ordering. The Brokered Messaging: Session Messages sample should help clarify, and the Best Practices document is another great reference.

这篇关于Azure服务总线和消息传递会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆