648649650651652653654655656657658
throw new HornetQXAException(XAException.XAER_PROTO, "Cannot commit transaction, it is suspended " + xid); } else { theTx.commit(onePhase); } } } }
897898899900901902903904905906907
deliveringCount.incrementAndGet(); acknowledge(tx, messageReference); count++; } tx.commit(); return count; } finally {
931932933934935936937938939940941
deleted = true; break; } } tx.commit(); return deleted; } finally {
9909919929939949959969979989991000
refRemoved(ref); count++; } } tx.commit(); return count; } finally {
12021203120412051206120712081209121012111212
count++; move(toAddress, tx, ref, false, rejectDuplicates); acknowledge(tx, ref); } tx.commit(); return count; } finally {
17511752175317541755175617571758175917601761
postOffice.route(copyMessage, tx, false, rejectDuplicate); acknowledge(tx, ref); tx.commit(); } /* * This method delivers the reference on the callers thread - this can give us better latency in the case there is nothing in the queue */
359360361362363364365366367368369
} } try { tx.commit(); } catch (Exception e) { HornetQServerLogger.LOGGER.warn("Error while cleaning page, during the commit", e); }
11771178117911801181118211831184118511861187
} } if (txCount > 0) { tx.commit(); tx = new TransactionImpl(storageManager); txCount = 0; }
11941195119611971198119912001201120212031204
txCount++; } if (txCount > 0) { tx.commit(); tx = new TransactionImpl(storageManager); txCount = 0; }
12201221122212231224122512261227122812291230
addTail(reference, false); } if (txCount > 0 && txCount % flushLimit == 0) { tx.commit(); tx = new TransactionImpl(storageManager); txCount = 0; } } }