class ActiveJob::QueueAdapters::ActiveElasticJobAdapter::MD5MismatchError

Raised when calculated MD5 digest does not match the MD5 Digest of the response from Amazon SQS.

Public Class Methods

new(message_id, calculated, returned) click to toggle source
Calls superclass method
# File lib/active_job/queue_adapters/active_elastic_job_adapter.rb, line 68
        def initialize(message_id, calculated, returned)

          super(<<-MSG)
            MD5 '#{returned}' returned by Amazon SQS does not match the
            calculation on the original request which was '#{calculated}'.
            The message with Message ID #{message_id} sent to SQS might be
            corrupted.
          MSG
        end