正在进行中的客户端发布-订阅 4GL

发布于 2024-09-29 22:40:28 字数 147 浏览 2 评论 0原文

有没有某种方法可以在 Progress 4GL 网络中的客户端之间进行发布。

一种(丑陋的)方法是“发布”(写入)到数据库并让所有客户端轮询数据库 - 但我当然想避免这种情况。

我正在使用 Progress OpenEdge 版本 10.0B02。

Is is there some way to put a publish between clients in the network in Progress 4GL.

An (ugly) way would be to "publish" (write) to the db and let all clients poll the db - but of course I would like to avoid that.

I am using in Progress OpenEdge Release 10.0B02.

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

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

发布评论

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

评论(2

极度宠爱 2024-10-06 22:40:28

不可以。无法跨会话边界使用内置的 PUBLISH 和 SUBSCRIBE 语句。

这是人们不时向产品管理人员询问的事情之一,但它似乎从未出现在计划的功能列表中。

No. There is no way to use the built-in PUBLISH and SUBSCRIBE statements across a session boundary.

Its one of those things that people ask product management for from time to time but it never seems to make it onto the planned feature list.

总攻大人 2024-10-06 22:40:28

您可以使用 Apache ActiveMQ 等 JMS 来实现您的目的。发布者将被称为生产者,订阅者将被称为消费者。 ActiveMQ支持STOMP协议;我写了一个开源 OpenEdge ABL 框架,它允许您创建一个使用 STOMP 框架的纯 ABL 中的生产者或消费者。

You may be able to use a JMS like Apache ActiveMQ for your purposes. The publisher would be known as a producer, and the subscriber would be known as a consumer. ActiveMQ supports the STOMP protocol; there is an open source OpenEdge ABL framework I wrote that will allow you to create a producer or consumer in pure ABL using STOMP frames.

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