[英]Workflow with MSMQ and Buffered Receive
We are building Workflow Foundation service with .NET 4.5 and are attempting to use MSMQ to deliver messages that Workflow Service should process. 我们正在使用.NET 4.5构建Workflow Foundation服务,并尝试使用MSMQ传递Workflow Service应该处理的消息。
We have enabled Allow Buffered Receive in order to have messages wait for Workflow to be able to process them. 我们启用了“允许缓冲接收”,以使消息等待工作流能够处理它们。
However, we've ended up with some weird kind of locks in our message folders (see the pictures). 但是,我们最终在消息文件夹中找到了一些奇怪的锁(请参见图片)。
There is no documentation whatsoever to explain this. 没有任何文档可以解释这一点。 What is this?
这是什么? Is it related to WF, WCF, MSMQ?
它与WF,WCF,MSMQ有关吗? Where to look for solution?
在哪里寻找解决方案?
I have no idea about the locks but I decided to implement my own queuing solution within my workflow outside of MSMQ due to past issues with MSMQ. 我对锁一无所知,但是由于过去与MSMQ有关的问题,我决定在MSMQ之外的工作流中实施自己的排队解决方案。 I found the following article that helped me implement a queuing solution using SQL Server Implementing Message Queues in Relation Databases
我发现以下文章可帮助我使用SQL Server 在关系数据库中实现消息队列来实现排队解决方案
Using a variant of this technique, IIS 7.5 AutoStart, WWF bookmarks and Context Based Correlation I was able to implement a persistent queue within my workflow without using MSMQ. 使用这种技术的变体,IIS 7.5自动启动,WWF书签和基于上下文的相关性,我能够在工作流中实现持久队列,而无需使用MSMQ。 The nature of workflow makes queuing within the workflow very doable.
工作流的性质使工作流中的排队非常可行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.