WF在农场 [英] WF in a farm

查看:99
本文介绍了WF在农场的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



人们如何处理将邮件路由到服务器场中运行的现有工作流实例的问题?例如,假设我使用MSMQ和在5台机器上运行的简单服务。此服务从MSMQ队列中提取消息并启动工作流。这很棒。如果我想将工作流事件发送到特定的wofklow实例怎么办?如何将消息路由到正确的工作流程?

Hi,

How are people handling the issue of routing messages to existing workflow instances running in a farm?  For example, suppose I use MSMQ and a simple service that runs on 5 machines.  This service pulls a message off an MSMQ queue and starts a workflow. This is great.  What if I then want to send a workflow event to a particular wofklow instance - how can I route the message to the correct workflow?

推荐答案

您好,

您需要使用工作流持久性。所有工作流运行时将使用相同的持久性db,因此将共享所有工作流。
在订阅外部事件后,将保留特定工作流,并且任何服务器都可以从db加载它并通过消息传递。
Hello,

You need to use workflow persistence for this. All workflow runtimes will use the same persistence db, therefore all workflows will be shared.
After subscription to external event particular workflow will be persisted and any server can load it from db and pass message thru.


这篇关于WF在农场的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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