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