Package com.sun.messaging.jmq.jmsserver.data

Examples of com.sun.messaging.jmq.jmsserver.data.BaseTransaction


            + " tid=" + tid + " size = " + playingToMessageStore.size();
        logger.log(Logger.DEBUG, msg);
      }
    }
   
    BaseTransaction existingTxn = null;
    boolean stored = false;
    existingTxn = incompleteUnstored.get(tid);
    if (existingTxn == null) {
      existingTxn = incompleteStored.get(tid);
      if (existingTxn != null) {
        stored = true;
      } else {
        String msg = getPrefix() + " processTxnCompletion: Could not find txn for " + tid;
        logger.log(Logger.WARNING, msg);
        throw new BrokerException(msg);
      }
    }
    existingTxn.getTransactionDetails().setState(state);

    if (stored) {
      // update the stored transaction from prepared to committed/rolledback state     
      //update state on file by writing at fixed offset
View Full Code Here

TOP

Related Classes of com.sun.messaging.jmq.jmsserver.data.BaseTransaction

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.