Skip to content
Browse files

make the queue also durable

  • Loading branch information...
1 parent 2575e4c commit 1a5d6f9f086cc86f701003f22aa37ebd2439b640 @jondot committed Jul 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/frenzy_bunnies/queue_factory.rb
View
2 lib/frenzy_bunnies/queue_factory.rb
@@ -11,7 +11,7 @@ def build_queue(name, prefetch, durable)
exchange = channel.exchange(@exchange, :type => :direct, :durable => durable)
queue = channel.queue(name)
- queue.bind(exchange, :routing_key => name)
+ queue.bind(exchange, :routing_key => name, :durable => durable)
queue
end
end

0 comments on commit 1a5d6f9

Please sign in to comment.
Something went wrong with that request. Please try again.