SSB - Fire and Forget: Good for the military, but not for Service Broker conversations

Fire and Forget: Good for the military, but not for Service Broker conversations


URL: http://blogs.msdn.com/remusrusanu/archive/2006/04/06/570578.aspx  from Service Broker Conversations blog.

Generally SSB demo application shows you that the initiator opens a conversation, sends a message and then ends the conversation. The author think it might not a good practice in production.

In the meanwhile, the author suggests another pattern for SSB message conversation. The solution is let the target end the conversation first.  The initiator can simply send the message to the target and then continue. The target will receive the message, end the conversation from the target side and this will send an EndDialog message back to the initiator.

For more detail info, please access the above URL. Thanks.


posted @   Rickie  阅读(623)  评论(0编辑  收藏  举报
编辑推荐:
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示