Permalink
Browse files

actually, right place.

  • Loading branch information...
1 parent 1a5d6f9 commit 846ae25b3ac34bf81e521f6d12023d186039385e @jondot committed Jul 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/frenzy_bunnies/queue_factory.rb
@@ -10,8 +10,8 @@ def build_queue(name, prefetch, durable)
exchange = channel.exchange(@exchange, :type => :direct, :durable => durable)
- queue = channel.queue(name)
- queue.bind(exchange, :routing_key => name, :durable => durable)
+ queue = channel.queue(name, :durable => durable)
+ queue.bind(exchange, :routing_key => name)
queue
end
end

0 comments on commit 846ae25

Please sign in to comment.