Hi all, I'm having some trouble with Ruote-AMQP. I had previously gotten it to work and a few days ago it stopped working and I can't for the life of me figure out what's going on. The thing is, the Receiver isn't creating the queue or even creating a Channel on the AMQP server.
I've done a minimal install of the latest ruote-kit (just cloned from GitHub) and replicated the issue. Here's my ruote-kit/Gemfile (I'm running on JRuby): ***** BEGIN Gemfile ****** source 'http://rubygems.org' gemspec gem 'json-jruby', '1.5.0' # for jruby gem 'json_pure' gem 'rufus-json', '>= 0.2.5', :path => '../rufus-json/' gem 'ruote', :git => 'git://github.com/jmettraux/ruote.git' #group :test do # gem 'rspec', '2.4.0' # gem 'rack-test' # gem 'webrat', '0.7.3' #end gem 'ruote', :git => 'git://github.com/jmettraux/ruote.git' gem 'amqp', '0.7.0' gem 'ruote-amqp', :git => 'git://github.com/kennethkalmer/ruote-amqp.git' ***** END Gemfile ***** Here's what I added to config.ru: ***** BEGIN config.ru snippet ***** RuoteKit.engine.register do catchall end # ruote-amqp require 'ruote-amqp' AMQP.settings[:host] = 'localhost' AMQP.settings[:port] = 5672 AMQP.settings[:user] = 'ruote' AMQP.settings[:pass] = 'ruote' AMQP.settings[:vhost] = '/test' RuoteAMQP::Receiver.new(RuoteKit.engine, :queue => 'test', :launchitems => true) ***** END config.ru snippet ***** So I start up ruote-kit and this is the output of rabbitmqctl: root@calypso:/home/devel# rabbitmqctl -p /test list_queues Listing queues ... ...done. root@calypso:/home/devel# rabbitmqctl -p /test list_channels Listing channels ... ...done. root@calypso:/home/devel# rabbitmqctl -p /test list_connections Listing connections ... ruote 127.0.0.1 37014 running ...done. root@calypso:/home/devel# rabbitmqctl -p /test list_exchanges Listing exchanges ... amq.headers headers amq.topic topic amq.fanout fanout amq.match headers amq.direct direct direct ...done. root@calypso:/home/devel# rabbitmqctl -p /test list_bindings Listing bindings ... ...done. root@calypso:/home/devel# As you can see, Ruote connects but doesn't do anything (not even create the queue). Any ideas? Thanks! -Mario. -- I want to change the world but they won't give me the source code. -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
