Sha256: 00498a493924cf8df3aac150c235ec71212c0f70bc9537cd55fc003f0f2c0b8a

Contents?: true

Size: 374 Bytes

Versions: 37

Compression:

Stored size: 374 Bytes

Contents

require_relative "base_error_handler"
module Pwwka
  module ErrorHandlers
    class NackAndIgnore < BaseErrorHandler
      def handle_error(receiver,queue_name,payload,delivery_info,exception)
        log("Error Processing Message",queue_name,payload,delivery_info,exception)
        receiver.nack(delivery_info.delivery_tag)
        keep_going
      end
    end

  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
pwwka-1.0.0 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-1.0.0.RC1 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.24.0 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.23.0 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.22.7 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.22.7.RC lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.23.0.RC2 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.22.6 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.23.RC1 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.22.5 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.22.4 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.22.3 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.22.2 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.21.3 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.22.2.RC4 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.22.2.RC3 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.22.2.RC2 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.22.0.RC2 lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.22.0.RC lib/pwwka/error_handlers/nack_and_ignore.rb
pwwka-0.21.2 lib/pwwka/error_handlers/nack_and_ignore.rb