11711172117311741175117611771178117911801181
txCount++; } if (txCount > 0) { tx.commit(); tx = new TransactionImpl(storageManager); txCount = 0; }
11981199120012011202120312041205120612071208
addTail(reference, false); } if (txCount > 0 && txCount % 500 == 0) { tx.commit(); tx = new TransactionImpl(storageManager); txCount = 0; } } }
12071208120912101211121212131214121512161217
} } if (txCount > 0) { tx.commit(); tx = null; }
12601261126212631264126512661267126812691270
deleted = true; break; } } tx.commit(); return deleted; } finally {
12951296129712981299130013011302130313041305
{ storageManager.deleteQueueBinding(tx.getID(), getID()); tx.setContainsPersistent(); } tx.commit(); } catch (Exception e) { tx.rollback(); throw e;
13701371137213731374137513761377137813791380
refRemoved(ref); count++; } } tx.commit(); return count; } finally {
22862287228822892290229122922293229422952296
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 */
820821822823824825826827828829830
throw new HornetQXAException(XAException.XAER_PROTO, "Cannot commit transaction, it is suspended " + xid); } else { theTx.commit(onePhase); } } } }
821822823824825826827828829830831
11001101110211031104110511061107110811091110
addTail(reference, false); } } } tx.commit(); if (filter != null && pageIterator != null) { scheduleDepage();