RabbitMQ 1.8 support
bernd opened this issue · 3 comments
I patched nanite to make it work with RabbitMQ 1.8.
The 1.8 version doesn't allow the declaration of an exchange with different parameters anymore.
See "Exchange equivalence" at:
http://lists.rabbitmq.com/pipermail/rabbitmq-announce/2010-June/000025.html
Please review my commit at:
bernd/nanite@747359b
I'm not sure if my changes will do something bad when running with an older RabbitMQ version. Especially the change in lib/nanite/mapper.rb
. At least the simpleagent example runs again and doesn't throw stuff like the following anymore.
NOT_ALLOWED - cannot redeclare exchange 'registration' in vhost '/nanite' with different
type, durable or autodelete value in AMQP::Protocol::Exchange::Declare
Thanks,
Bernd
Thanks for the patches. I'll look into them, testing them with a 1.7.1 infrastructure later this week before fully applying them.
Just ran the simpleagent example with rabbitmq 2.0.0. Works fine as well.
Merged them into master, changes already included in the mapper_rework branch. Thanks!