public static boolean isResponseOf10YearHistoryCheckSystem(
      TransactionMessageImpl originalMessage) {

    String indicator = originalMessage.getMessageProperty();
    if (ParameterConstants.PDPS_10_YEAR_HISTORY_CHECK_SYSTEM_INDICATOR.equals(indicator))
      return true;

    return false;
  }
 public synchronized void addMessage(MessageBaseImpl message) {
   super.addMessage(message);
   if (!isPersisted() && "CG".equals(message.getMessageType())) {
     try {
       IMessageBusiness dbMessageBusiness = MessageDAOFactory.getDBMessageBusiness();
       updateTransaction(MessageCodeConstants.CSOR_IN_PROGRESS);
       TransactionMessageImpl txMessage =
           dbMessageBusiness.loadTransactionMessage(
               messageId, MessageCodeConstants.OUTGOING, false);
       ApplicantBusiness appBusiness =
           (ApplicantBusiness) MessageDAOFactory.getAppBeanInstance("applicantBusiness");
       Applicant applicant = appBusiness.findBaseAppById(txMessage.getPersonId());
       applicant.setCsorIndicator(new Boolean(true));
       appBusiness.saveOrUpdate(applicant);
     } catch (HibernateException he) {
       AAMVALogger.error(message.getMessageId(), this.getClass(), he.getMessage());
       throw he;
     }
   }
 }