def found_duplicate?(msg_data)
      return false unless msg_data && msg_data[:queue]
      timeout = self.queue_timeout(msg_data)
      begin
        !@memcached_client.add(msg_data[:id], "1",timeout)
      rescue StandardError => e
        if @dupe_on_cache_failure
          Chore.logger.error "Error accessing duplicate cache server. Assuming message is a duplicate. #{e}\n#{e.backtrace * "\n"}"
          true
        else
          Chore.logger.error "Error accessing duplicate cache server. Assuming message is not a duplicate. #{e}\n#{e.backtrace * "\n"}"
          false
        end
      end
    end
def found_duplicate?(msg_data)
      return false unless msg_data && msg_data[:queue]
      timeout = self.queue_timeout(msg_data)
      begin
        !@memcached_client.add(msg_data[:id], "1",timeout)
      rescue StandardError => e
        if @dupe_on_cache_failure
          Chore.logger.error "Error accessing duplicate cache server. Assuming message is a duplicate. #{e}\n#{e.backtrace * "\n"}"
          true
        else
          Chore.logger.error "Error accessing duplicate cache server. Assuming message is not a duplicate. #{e}\n#{e.backtrace * "\n"}"
          false
        end
      end
    end
:nodoc:
 Checks the message against the configured dedupe server to see if the message is unique or not
 Unique messages will return false
 Duplicated messages will return true