正在进行中的客户端发布-订阅 4GL
有没有某种方法可以在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不可以。无法跨会话边界使用内置的 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.
您可以使用 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.