Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't startup poller with adapter is AMQP #30

Open
noelrocha opened this issue Jan 28, 2013 · 0 comments
Open

Doesn't startup poller with adapter is AMQP #30

noelrocha opened this issue Jan 28, 2013 · 0 comments

Comments

@noelrocha
Copy link

My gem file is like:

gem 'celluloid'
gem 'activemessaging', :git => 'https://github.com/kookster/activemessaging.git'
gem "daemons"
gem 'amqp'

When I run script/poller run I get the following exception:

=> Subscribing to /queue/HelloWorldProcessor (processed by HelloWorldProcessorProcessor)
RuntimeError: Unknown messaging adapter :amqp!
    /Users/noelrocha/.rvm/gems/ruby-1.9.3-p125/bundler/gems/activemessaging-434f6d901959/lib/activemessaging/gateway.rb:126:in `connection'
    /Users/noelrocha/.rvm/gems/ruby-1.9.3-p125/bundler/gems/activemessaging-434f6d901959/lib/activemessaging/gateway.rb:392:in `subscribe'
    /Users/noelrocha/.rvm/gems/ruby-1.9.3-p125/bundler/gems/activemessaging-434f6d901959/lib/activemessaging/gateway.rb:140:in `block in subscribe'
    /Users/noelrocha/.rvm/gems/ruby-1.9.3-p125/bundler/gems/activemessaging-434f6d901959/lib/activemessaging/gateway.rb:140:in `each'
    /Users/noelrocha/.rvm/gems/ruby-1.9.3-p125/bundler/gems/activemessaging-434f6d901959/lib/activemessaging/gateway.rb:140:in `subscribe'
    /Users/noelrocha/.rvm/gems/ruby-1.9.3-p125/bundler/gems/activemessaging-434f6d901959/lib/activemessaging/gateway.rb:31:in `start'
    /Users/noelrocha/.rvm/gems/ruby-1.9.3-p125/bundler/gems/activemessaging-434f6d901959/lib/activemessaging.rb:130:in `start'
    /Users/noelrocha/tmp/test_messagequeue/lib/poller.rb:22:in `<top (required)>'
    /Users/noelrocha/.rvm/gems/ruby-1.9.3-p125/gems/daemons-1.1.9/lib/daemons/application.rb:203:in `load'
    /Users/noelrocha/.rvm/gems/ruby-1.9.3-p125/gems/daemons-1.1.9/lib/daemons/application.rb:203:in `start_load'
    /Users/noelrocha/.rvm/gems/ruby-1.9.3-p125/gems/daemons-1.1.9/lib/daemons/application.rb:294:in `start'
    /Users/noelrocha/.rvm/gems/ruby-1.9.3-p125/gems/daemons-1.1.9/lib/daemons/controller.rb:73:in `run'
    /Users/noelrocha/.rvm/gems/ruby-1.9.3-p125/gems/daemons-1.1.9/lib/daemons.rb:147:in `block in run'
    /Users/noelrocha/.rvm/gems/ruby-1.9.3-p125/gems/daemons-1.1.9/lib/daemons/cmdline.rb:109:in `call'
    /Users/noelrocha/.rvm/gems/ruby-1.9.3-p125/gems/daemons-1.1.9/lib/daemons/cmdline.rb:109:in `catch_exceptions'
    /Users/noelrocha/.rvm/gems/ruby-1.9.3-p125/gems/daemons-1.1.9/lib/daemons.rb:146:in `run'
    script/poller:24:in `<main>'
Cleaning up...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant