code: public final boolean resume(InternalEvent eventMessageDoc) throws ActivityException {
          boolean toFinish;
          String secondaryOwnerType = eventMessageDoc.getSecondaryOwnerType();
          if (secondaryOwnerType!=null && secondaryOwnerType.equals(OwnerType.DOCUMENT)) {
              String responseData = super.getMessageFromEventMessage(eventMessageDoc);
              setReturnCodeAndExitStatus(eventMessageDoc.getCompletionCode());
              processMessage(responseData);
              toFinish = handleCompletionCode();
          } else {
              setReturnCodeAndExitStatus(eventMessageDoc.getCompletionCode());
              processMessage(null);
              toFinish = handleCompletionCode();
          }
          return toFinish;
      }
docs: You cannot override this method. Override {@link processMessage(String)} instead.
  
  This method is called when the message is received after registration. It extracts the message,
  records the message in ADAPTER_INSTANCE table, and invoke {@link processMessage(String)}.