0
我正在使用ActiveMQ与跺脚和activemessaging。 我试图按照配置步骤 http://code.google.com/p/activemessaging/wiki/Configuration如何使用多个代理? (Stomp,ActiveMQ和activemessaging)
在我broker.yml,我有以下的配置
development: adapter: stomp login: "" passcode: "" host: localhost port: 61613 reliable: true reconnectDelay: 5 foo: adapter: stomp login: "" passcode: "" host: xx.xx.xx.xx port: 61614 reliable: true reconnectDelay: 5 test: ..... production: ......
在我messaging.rb,我有...
ActiveMessaging::Gateway.define do |s|
s.queue :hi_world, '/queue/HiWorld', {}, 'foo'
end
但这似乎不起作用,消息未在HiWorld队列中排队。 任何帮助将不胜感激。
在此先感谢。
马特特
这就像一个魅力!谢谢安德鲁! – msacro 2010-08-19 01:44:04