Sha256: 3456e147854998696aff196927922ed81d5f68a1c2a2d5784417ca1bd5015de5

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

require 'sqspoller/process/message_handler'
# DEPRECATED: This class is to support backward compatibility. This class will be removed once we updated all the config files updated.
module Sqspoller

  class WorkerTask

    def initialize(worker_configuration)
      @message_handler = SqsPoller::Process::MessageHandler.new(worker_configuration)
    end

    def handle(message, message_id)
      @message_handler.handle(message, message_id)
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fourkites-sqspoller-v2-1.0.0 lib/sqspoller/worker_task.rb