是否可以独立于BizTalk Server使用BizTalk Rule Engine?

问题描述:

目前,我正在参与一个包含很多规则的项目.有一个想法可以使用BizTalk的 Business Rule Composer 来创建规则.

Currently I'm involved in a project with lots of rules in it. There's an idea to use BizTalk's Business Rule Composer for rule creation.

问题1.是否可以单独使用它?

Question1. Is it possible to use it independently?

问题2.如果是,我如何订阅不同的Fact Source类型(如.Net ObjectsDatabases)的更改?

Question2. If so, how can I subscribe to change of different Fact Source types like .Net Objects, Databases?

仅供参考,我正在使用BizTalk Server 2013.

FYI, I'm using BizTalk Server 2013.

A1:是. BRE具有完整的C#API,可以独立于BizTalk Server使用.您可以在此处找到带有C#示例的API文档: http://msdn.microsoft. com/en-us/library/aa561833.aspx

A1: Yes. The BRE has a full C# API and can be used independently of BizTalk Server. You can find the API docs with C# examples here: http://msdn.microsoft.com/en-us/library/aa561833.aspx

A2:保持事实最新是根据具体情况决定的事情.对于长期事实,可以对事实检索进行编程以检测任何更改(没有办法只是知道")并更新它的事实.同样,.Net Fact可以进行编程以使其保持最新状态.

A2: Keeping Facts current is something to decide on a case by case basis. For Long Term Facts, you Fact Retrieve can be programmed to detect any changes (there's no way to just 'know') and update it's Facts. Similarly, .Net Facts can programmed to keep them selves current.

为清楚起见,您可以在不安装BizTalk Server的情况下安装BRE,它们实际上是单独的堆栈.但是,对于将要运行BRE的任何计算机,您仍然需要BizTalk Server许可证.

For clarity, you can install the BRE without BizTalk Server, they are actually separate stacks. However, you still require a BizTalk Server License for any machine where the BRE will run.