sol
unread,Sep 21, 2011, 5:37:44 AM9/21/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Daemon Kit
Hi, having the following setup under rvm ruby-1.9.2:
amq-client (0.8.3)
amq-protocol (0.8.1)
amqp (0.8.0)
bundler (1.0.18)
daemon-kit (0.1.8.1)
eventmachine (0.12.10)
I generated a client for rabbitmq with -i amqp, containing:
amq = ::MQ.new
amq.queue('test').subscribe do |msg|
DaemonKit.logger.debug "Received message: #{msg.inspect}"
end
I'm getting errors from rapidmq:
=ERROR REPORT==== 21-Sep-2011::11:24:57 ===
connection <0.16515.0> (running), channel 1 - error:
{amqp_error,command_invalid,"second 'channel.open'
seen",'channel.open'}
if I change the snippet to:
amq = AMQP::Channel.new
amq.queue('test', :durable => true).subscribe do |msg|
DaemonKit.logger.debug "Received message: #{msg.inspect}"
end
Then it works
has there been any changes in the amqp gem that are not already in
daemon-kit?