[rabbitmq-discuss] Ruby AMQP client not 1.8.0 friendly

Matthew Sackman matthew at rabbitmq.com
Thu Jul 1 14:51:14 BST 2010


On Thu, Jul 01, 2010 at 08:11:01AM -0500, Jon Brisbin wrote:
> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/amqp-0.6.7/lib/mq.rb:225:in `process_frame': PRECONDITION_FAILED - parameters for queue 'xportal.war' in vhost 'cloud' not equivalent in AMQP::Protocol::Queue::Declare on 1 (MQ::Error)
> 
> =ERROR REPORT==== 1-Jul-2010::08:04:36 ===
> connection <0.793.0> (running), channel 1 - error:
> {amqp_error,precondition_failed,
>             "parameters for queue 'xportal.war' in vhost 'cloud' not equivalent",
>             'queue.declare'}

Yup, looks like you're redeclaring the queue with different parameters
than it was originally declared with. This is something that was changed
with the 1.8.0 release where we're moving closer to 0-9-1 semantics, and
is covered towards the bottom of
http://lists.rabbitmq.com/pipermail/rabbitmq-announce/2010-June/000025.html

Matthew


More information about the rabbitmq-discuss mailing list