Package jifx.commons.messages

Examples of jifx.commons.messages.IMessage


          }
      }

        if (logger.isDebugEnabled())
        logger.debug(channelName+"|messageProcessTM: Original|"+message);
      IMessage proc = translateMessage(context, translateTM, message);
      if (logger.isDebugEnabled())
        logger.debug(channelName+"|messageProcessTM: Traducido|"+proc);

        MessageID multiplexerID = new MessageID(multiplexerMsgID, proc);
        synchronized (table) {
View Full Code Here


          context = new HashMap<String, Object>();
          table.put(multiplexerID, context);
        }
      }
      logger.debug(channelName + "|messageProcessTC: Original|" + message);
      IMessage proc = translateMessage(context, translateTC, message);
      logger.debug(channelName + "|messageProcessTC: Traducido|" + proc);
      if (proc == null) {
        logger.error(channelName + "|Mensaje descartado por error en la traducci�n.|" + message);
        return;
      }
View Full Code Here

      logger.error(channelName+"| messageProcessTC: Mensaje descartado por falla en traduccion: "+e.getMessage()+" |"+message);
  }
    }

    private IMessage translateMessage(Map<String, Object> context, RootCondition t, IMessage message) throws TranslateException {
      IMessage proc = null;
     List<IConditionInformation> lstConditions = t.getAllConditionInformation(message);
    if (lstConditions.size() == 0)
      throw new TranslateException("Mensaje no machea con ninguna condicion.");

    for (IConditionInformation condition : lstConditions) {
View Full Code Here

TOP

Related Classes of jifx.commons.messages.IMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.