inFlightTxLocations.add(location);
}
final Transaction tx = TransactionManager.getContexTransaction();
JournalAck ack = new JournalAck(destinationName,subscription,messageIdentity.getMessageID(), tx.getTransactionId());
transactionStore.acknowledge(this, ack, location);
tx.addPostCommitTask(new TransactionTask(){
public void execute() throws Throwable {
synchronized (JournalTopicMessageStore.this) {
inFlightTxLocations.remove(location);
acknowledge(subscription, messageIdentity, location);
}