public void afterCommit() throws Exception { if (debug) { LOG.debug("Transacted message add commit for: " + id + ", at: " + location); } lock.lock(); try { inFlightTxLocations.remove(location); } finally { lock.unlock(); } addMessage(message, location); }
addMessage(message, location); } else { if (debug) {