Created
July 13, 2012 18:12
-
-
Save iamnader/3106401 to your computer and use it in GitHub Desktop.
creating queue error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby-1.9.2-head :001 > MyMq.client | |
S | |
. | |
capabilitiesFdpublisher_confirmsIexchange_exchange_bindingsI | |
basic.nackIconsumer_cancel_notifyI copyrightS$Copyright (C) 2007-2012 VMware, Inc. | |
informationS5Licensed under the MPL. See http://www.rabbitmq.complatformS | |
Erlang/OTPproductRabbitMQversionS2.8.1PLAIN AMQPLAINen_US? | |
? | |
platformSRubyproductSBunny | |
informationS!http://github.com/ruby-amqp/bunnyversionS0.8.0PLAIN6app428075_heroku.comrBsSPoXlDMerutDmfqcBaCPEn2_E2UX1en_US? | |
? | |
? | |
pp428075_heroku.com? | |
)? | |
? | |
? | |
=> #<Bunny::Client:0x007fd8155cd8f8 @host="lemur.cloudamqp.com", @port=5672, @user="app428075_heroku.com", @pass="rBsSPoXlDMerutDmfqcBaCPEn2_E2UX1", @vhost="app428075_heroku.com", @logfile=nil, @logging=true, @ssl=false, @ssl_cert=nil, @ssl_key=nil, @ssl_cert_string=nil, @ssl_key_string=nil, @verify_ssl=true, @status=:connected, @frame_max=131072, @channel_max=0, @heartbeat=0, @connect_timeout=5.0, @read_write_timeout=nil, @disconnect_timeout=5.0, @logger=#<Logger:0x007fd8155cc4a8 @progname=nil, @level=1, @default_formatter=#<Logger::Formatter:0x007fd8155cc408 @datetime_format=nil>, @formatter=#<Logger::SimpleFormatter:0x007fd8155cc278 @datetime_format="%Y-%m-%d %H:%M:%S">, @logdev=#<Logger::LogDevice:0x007fd8155cc3b8 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDOUT>>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x007fd8155cc368 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x007fd8155cc2a0>>>>, @message_in=true, @message_out=true, @last_method= | |
, @connecting=false, @channels=[#<Bunny::Channel:0x007fd8155cc160 @frame_buffer=[], @client=#<Bunny::Client:0x007fd8155cd8f8 ...>, @number=0, @active=false>, #<Bunny::Channel:0x007fd815401c40 @frame_buffer=[], @client=#<Bunny::Client:0x007fd8155cd8f8 ...>, @number=1, @active=true>], @channel=#<Bunny::Channel:0x007fd815401c40 @frame_buffer=[], @client=#<Bunny::Client:0x007fd8155cd8f8 ...>, @number=1, @active=true>, @exchanges={}, @queues={}, @socket=#<TCPSocket:fd 3>, @buffer=#<Bunny::Client:0x007fd8153fcfb0>> | |
ruby-1.9.2-head :002 > KapostMq.client.status | |
=> :connected | |
ruby-1.9.2-head :003 > KapostMq.messages_queue | |
2 | |
development:messages? | |
; | |
2@0CONNECTION_FORCED - Closed via management plugin? | |
Bunny::ForcedConnectionCloseError: Error Reply Code: 320 | |
Error Reply Text: CONNECTION_FORCED - Closed via management plugin | |
from /Users/nader/.rvm/gems/ruby-1.9.2-head/gems/bunny-0.8.0/lib/bunny/client.rb:46:in `check_response' | |
from /Users/nader/.rvm/gems/ruby-1.9.2-head/gems/bunny-0.8.0/lib/bunny/queue.rb:38:in `initialize' | |
from /Users/nader/.rvm/gems/ruby-1.9.2-head/gems/bunny-0.8.0/lib/bunny/client.rb:249:in `new' | |
from /Users/nader/.rvm/gems/ruby-1.9.2-head/gems/bunny-0.8.0/lib/bunny/client.rb:249:in `queue' | |
from /Users/nader/repo/bokchoy/lib/kapost_mq.rb:35:in `messages_queue' | |
from (irb):3 | |
from /Users/nader/.rvm/gems/ruby-1.9.2-head/gems/railties-3.1.4/lib/rails/commands/console.rb:45:in `start' | |
from /Users/nader/.rvm/gems/ruby-1.9.2-head/gems/railties-3.1.4/lib/rails/commands/console.rb:8:in `start' | |
from /Users/nader/.rvm/gems/ruby-1.9.2-head/gems/railties-3.1.4/lib/rails/commands.rb:40:in `<top (required)>' | |
from script/rails:6:in `require' | |
from script/rails:6:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment