Package jifx.transactionManager.transaction

Examples of jifx.transactionManager.transaction.Transaction


      IMessage m = (IMessage)((ObjectMessage)message).getObject();
      if (logger.isDebugEnabled())
        logger.debug(tmInformation.getIdtrn()+"|Mensaje recibido por el Trans.Manager|"+m.toString());
      TransactionInformation ti = tmInformation.getTransactionInformation(m);
      String trnName = tmInformation.getIdtrn()+"-" + new GregorianCalendar().getTimeInMillis();
      Transaction trn = new Transaction(trnName, ti , message.getStringProperty("connection"));
     
      AttributeChangeNotificationFilter nf = new AttributeChangeNotificationFilter();
      nf.enableAttribute("TMState");
      configurator.addNotificationListener((NotificationListener) trn, nf, this);
     
      trn.setMessage(m);
      new TransactionTimeOut(trn,ti.getTimeOut());
    }catch (Exception e){
      logger.error(tmInformation.getIdtrn()+"|"+e.getMessage()+"|");
    }
  }
View Full Code Here

TOP

Related Classes of jifx.transactionManager.transaction.Transaction

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.