简体   繁体   English

使用MSMQ和缓冲接收的工作流

[英]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.

相关问题 使用net.msmq绑定通过MSMQ激活IIS托管工作流 - Activate IIS Hosted Workflow With MSMQ Using net.msmq Binding Workflow Foundation 接收活动 - Workflow Foundation Receive Activity 我可以通过工作流服务更改MSMQ消息错误处理的行为吗? - Can I Change the Behavior of MSMQ Message Error Handling by a Workflow Service? 工作流程/工作流程服务组合? 如何在“正常”工作流程中使用接收活动? - Workflow / Workflow Service combination? How to use Receive activity on 'normal' workflow? 具有“消息”安全性的WCF Msmq,无法从队列接收消息 - WCF Msmq with “Message” security, can't receive messages from the queue WCF远程MSMQ - 我可以写入远程队列,但无法接收 - WCF Remote MSMQ - I can write to a remote queue, but cannot receive 在发生错误之前,MSMQ仅尝试3次接收消息 - MSMQ only tries 3 times to receive a message before an error occurs 使用WCF从MSMQ队列接收任何XML消息? - Use WCF to receive any XML message from an MSMQ Queue? 使用msmqIntegrationBinding的MVC应用程序中的WCF服务不会从msmq接收消息 - WCF service inside an MVC-app that uses msmqIntegrationBinding does not receive messages from msmq 在长时间运行的工作流服务上调用操作(接收活动)时,WF4错误 - WF4 error when calling operations (receive activities) on long running workflow service
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM