一般流口水问题

发布于 2024-08-27 10:52:33 字数 712 浏览 5 评论 0原文

在过去的几个月里,我的公司一直在使用 Informatica(以前称为 AgentLogic)公司的名为 RulePoint 的产品。事实证明,该产品非常易于使用,具有开发完善且易于使用的定制 SDK。我们使用该产品进行 CEP 的方式相当简单,我们有 2 个源来监控规则数据,第一个是 JMS 队列,第二个是 Jabber IM 帐户。该产品可以在任何基于 Java 的应用程序服务器(WebLogic、Tomcat 等)上运行,并且运行几乎完美。

上周,我的老板说:“嘿,我听说我们可以使用名为 Drools 的开源产品来完成与 RulePoint 相同的操作。检查一下,然后告诉我您的想法。”

我听说有人使用 Drools 进行基于流程的操作(验证等),但是,我从未听说过有人在实践中使用他们的 CEP 产品(Fusion)。所以,作为一个勤奋的工作者,我承担了这个任务。我已经下载了所有文件(5.0 版)和随附文档并开始阅读。我已经阅读了几乎所有文档并运行了大部分示例,但我仍然没有真正了解 drools 如何用于 CEP。

虽然有使用 JMS 中的数据(或事实,我猜)的示例,但我不明白这个东西如何保持“运行”,持续监视队列直到应用程序实际停止。 RulePoint Pretty 必须只是坐下来倾听,但是 Drools 似乎没有。

我可能可以根据我们的需求编写一个成熟的命令行应用程序,但是,我希望利用应用程序服务器提供的一些好处。

我想我正在寻找一些好的教程或某人如何在生产中使用 Drools 和 CEP 的示例。

For the last few months my company has been using a product from a company called Informatica (previously AgentLogic) called RulePoint. This product has proven itself very easy to use with a well-developed and easy-to-use SDK for customization. The way we use the product for CEP is fairly trivial, we have 2 sources which we monitor for our rule data, the first being a JMS Queue, the second being a Jabber IM account. The product runs on any java-based application server (WebLogic, Tomcat, etc) and runs just about flawlessly.

Last week my boss says, "Hey, I've heard that we may be able to do the same thing we are doing with RulePoint with an open-source product called Drools. Check it out and let me know what you think."

I've heard of people using Drools for flow-based operations (validation, etc), however, I've never heard of anyone using their CEP product (Fusion) in practice. So, being the diligent worker, I have undertaken this task. I've downloaded all the files (version 5.0) and accompanying documentation and have started to read. I've read through just about all the docs and run most of the examples, but I still don't really see HOW drools works for CEP.

While there are examples for using Data (or Facts, I guess) from JMS, I don't see how this thing stays "running", continuously monitoring a queue until the application is actually stopped. RulePoint pretty must just sits and listens, however, Drools seems to not.

I could probably write a full-blown command-line application for our needs, however, I was hoping to leverage some of the benefits of using a application server provides.

I guess I'm looking for some good tutorials or an example of how someone is using Drools and CEP in production.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

热鲨 2024-09-03 10:52:33

CEP 的东西被称为“Drools Fusion” - 您可能想要的是“runUntilHalt”方法来连续运行和侦听事件流。

The CEP stuff is known as "Drools Fusion" - and what you probably want is "runUntilHalt" method to run and listen for event streams continuously.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文