11991200120112021203120412051206120712081209
refRemoved(ref); count++; } } tx.commit(); return count; } finally {
14361437143814391440144114421443144414451446
count++; move(toAddress, tx, ref, false, rejectDuplicates); acknowledge(tx, ref); } tx.commit(); return count; } finally {
20842085208620872088208920902091209220932094
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 */
822823824825826827828829830831832
throw new HornetQXAException(XAException.XAER_PROTO, "Cannot commit transaction, it is suspended " + xid); } else { theTx.commit(onePhase); } } } }
12161217121812191220122112221223122412251226
} } if (txCount > 0) { tx.commit(); tx = new TransactionImpl(storageManager); txCount = 0; }
12331234123512361237123812391240124112421243
txCount++; } if (txCount > 0) { tx.commit(); tx = new TransactionImpl(storageManager); txCount = 0; }
12591260126112621263126412651266126712681269
addTail(reference, false); } if (txCount > 0 && txCount % flushLimit == 0) { tx.commit(); tx = new TransactionImpl(storageManager); txCount = 0; } } }
12681269127012711272127312741275127612771278
} } if (txCount > 0) { tx.commit(); tx = null; }
13211322132313241325132613271328132913301331
deleted = true; break; } } tx.commit(); return deleted; } finally {
13671368136913701371137213731374137513761377
{ storageManager.deleteQueueBinding(tx.getID(), getID()); tx.setContainsPersistent(); } tx.commit(); } catch (Exception e) { tx.rollback(); throw e;