Permalink
Browse files

Remove a bunch of puts from MessageProcessor.

  • Loading branch information...
1 parent 67d54ca commit 6b35befcea593394c48e3bbf188c5c5c979dc500 @MarkMenard committed Oct 13, 2011
Showing with 1 addition and 5 deletions.
  1. +1 −5 lib/consumption_junction/message_processor.rb
@@ -7,17 +7,13 @@ def initialize (worker_class)
puts "[ ConsumptionJunction::MessageProcessor ] CREATE MessageProcessor for #{worker_class}"
self.worker_class = worker_class
self.message_count = 0
- puts "[ ConsumptionJunction::MessageProcessor ] END initialize()"
end
def process_message (message)
- puts "-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-"
puts "[ ConsumptionJunction::MessageProcessor ] BEGIN MessageProcessor#process_message using #{worker_class.to_s} #{message}"
self.message_count = message_count + 1
- puts "[ ConsumptionJunction::MessageProcessor ] INFO #{to_s}"
result = build_worker(message).process_message
- puts "[ ConsumptionJunction::MessageProcessor ] END MessageProcessor#process_message result = #{result} for message = #{message}"
- puts "-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-"
+ puts "[ ConsumptionJunction::MessageProcessor ] END MessageProcessor#process_message result = '#{result}' for message = '#{message}'"
result
end

0 comments on commit 6b35bef

Please sign in to comment.