rabbithutch 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/worker.rb +3 -2
  2. data/rabbithutch.gemspec +1 -1
  3. metadata +1 -1
data/lib/worker.rb CHANGED
@@ -16,10 +16,11 @@ module RabbitHutch
16
16
  @queue_name = config.application['queuename']
17
17
  end
18
18
 
19
+ # begin listening for all topics in publish.#
19
20
  def start
20
21
  @exchange = @channel.topic(@exchange_name, :durable => true, :auto_delete => false, :internal => true)
21
- @queue = @channel.queue(@queue_name, :durable => false, :auto_delete => true)
22
- @queue.bind(@exchange, :routing_key => '#')
22
+ @queue = @channel.queue(@queue_name, :durable => false, :auto_delete => false)
23
+ @queue.bind(@exchange, :routing_key => 'publish.#')
23
24
  @queue.subscribe(&@consumer.method(:handle_message))
24
25
  end
25
26
 
data/rabbithutch.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = %q{rabbithutch}
7
- gem.version = "0.1.0"
7
+ gem.version = "0.1.1"
8
8
  gem.authors = ["John Ryan"]
9
9
  gem.email = ["555john@gmail.com"]
10
10
  gem.description = %q{RabbitMq Trace Logger - Listen to multiple RabbitMq instances and log them to a
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbithutch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: