问题描述
我们如何从Node.js环境连接到Tibco.
How we can connect to Tibco from a nodejs environment.
有人试图使用任何stompjs或任何javascript组件之类的nodejs软件包连接到Tibco EMS队列.
Have anyone tried to connect to Tibco EMS queue using any nodejs package like stompjs or any javascript component.
推荐答案
为此,TIBCO的一种方法是使用TIBCO 网络消息产品.这个独立的模块提供了到EMS的桥梁,可以从Javascript和Flash程序中调用.这意味着对移动设备进行极端扩展.
One of the TIBCO approach for this would be to use the TIBCO Web Messaging product.This separate module offer a bridge to EMS, callable from Javascript and flash programs. It is meant of extreme scaling of mobile devices.
如果您继续使用TIBCO解决方案,也可以选择FTL.这种低延迟的下一代消息传递总线可以与Javascript接口.
If you stay with TIBCO solutions, FTL is also an option. This low latency next generation messaging bus can be interfaced with Javascript.
如果这两种解决方案都不可接受,则可以创建一个Web服务,负责在总线上创建消息.从队列中读取内容或订阅主题当然更困难了……但是可以做到.
If either of these solutions are not acceptable, you can create a web service responsible of creating messages on the bus. This is of course more difficult for READING out of a queue or subscribing to a topic... but can be done.
最后但并非最不重要的是……其他(有时是免费的)消息传递总线具有REST API接口.一个示例是 ActiveMQ .
And last but not least... other (sometimes free) messaging buses have REST API interfaces. One example is ActiveMQ.
这篇关于使用nodejs/Javascript的Tibco EMS连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!