在JMS队列中使用Ruby,而不是JRuby? [英] Using Ruby, not JRuby, in JMS queue?

查看:126
本文介绍了在JMS队列中使用Ruby,而不是JRuby?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Ruby(而不是JRuby)将消息推送到JMS队列(由Tibco EMS托管)的最简单方法是什么?

解决方案

Stomp 是一种允许任意客户端附加到Stomp消息代理的机制. StompConnect 将JMS提供者转变为Stomp代理,包括Tibco EMS(不是Tibco RV). >

我不确定这是否绝对最简单;其他选择包括使用Tibco EMS的C ++客户端以及使用Ruby FFI机制进行接口.我不知道哪一个是最好的".

What is the easiest way of pushing a message to a JMS queue (hosted by Tibco EMS) using Ruby, not JRuby?

解决方案

Stomp is a mechanism that allows arbitrary clients to attach to Stomp message brokers. StompConnect turns JMS providers into Stomp brokers, including Tibco EMS (not Tibco RV).

I'm not sure if this is the absolute easiest; other options would include using Tibco EMS's C++ client and interfacing it using a Ruby FFI mechanism. I don't know which would be the "best".

这篇关于在JMS队列中使用Ruby,而不是JRuby?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆