Sha256: e5f7f52c9f3847aa82acce775a71cc6d64980c8c33c9de0b24e81cefdfe860f2

Contents?: true

Size: 392 Bytes

Versions: 10

Compression:

Stored size: 392 Bytes

Contents

# encoding: utf-8
require 'rubygems'
require "mongo"

module RabbitHutch
  class ConsoleConsumer
      
    def initialize()
      puts "\tInitializing Console Consumer"
    end
        
    def log_event(item)
      begin  
        puts item
      rescue Exception => e
        puts "Error occurred Message Handler trying to write messages to Log #{e.inspect}" 
      end
    end 
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rabbithutch-0.1.5 lib/consumers/console_consumer.rb
rabbithutch-0.1.2 lib/consumers/console_consumer.rb
rabbithutch-0.1.1 lib/consumers/console_consumer.rb
rabbithutch-0.1.0 lib/consumers/console_consumer.rb
rabbithutch-0.0.9 lib/consumers/console_consumer.rb
rabbithutch-0.0.8 lib/consumers/console_consumer.rb
rabbithutch-0.0.7 lib/consumers/console_consumer.rb
rabbithutch-0.0.5 lib/consumers/console_consumer.rb
rabbithutch-0.0.3 lib/consumers/console_consumer.rb
rabbithutch-0.0.2 lib/consumers/console_consumer.rb