docs: def process(self):
          '''Load the module containing your class, and run the appropriate
          method. For example, if this job was popped from the queue
          ``testing``, then this would invoke the ``testing`` staticmethod of
          your class.'''
          try:
              method = getattr(self.klass, self.queue_name,
                  getattr(self.klass, 'process', None))
          except Exception as exc:
              # We failed to import the module containing this class
              logger.exception('Failed to import %s', self.klass_name)
              return self.fail(self.queue_name + '-' + exc.__class__.__name__,
                  'Failed to import %s' % self.klass_name)
  
          if method:
              if isinstance(method, types.FunctionType):
                  try:
                      logger.info('Processing %s in %s',
                          self.jid, self.queue_name)
                      method(self)
                      logger.info('Completed %s in %s',
                          self.jid, self.queue_name)
                  except Exception as exc:
                      # Make error type based on exception type
                      logger.exception('Failed %s in %s: %s',
                          self.jid, self.queue_name, repr(method))
                      self.fail(self.queue_name + '-' + exc.__class__.__name__,
                          traceback.format_exc())
              else:
                  # Or fail with a message to that effect
                  logger.error('Failed %s in %s : %s is not static',
                      self.jid, self.queue_name, repr(method))
                  self.fail(self.queue_name + '-method-type',
                      repr(method) + ' is not static')
          else:
              # Or fail with a message to that effect
              logger.error(
                  'Failed %s : %s is missing a method "%s" or "process"',
                  self.jid, self.klass_name, self.queue_name)
              self.fail(self.queue_name + '-method-missing', self.klass_name +
                  ' is missing a method "' + self.queue_name + '" or "process"')