问题
What is the easiest way of pushing a message to a JMS queue (hosted by Tibco EMS) using Ruby, not JRuby?
回答1:
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".
来源:https://stackoverflow.com/questions/14330594/using-ruby-not-jruby-in-jms-queue