boolean globalLockObtained = false;
String txId = null;
try {
parseRequest();
ExternalTransactionContext externalTransaction = null;
txId = requestHeaders.getTxId();
if (txId != null) {
externalTransaction = ExternalTransactionContext.lookupContext(txId);
if (externalTransaction != null) {
Domain.log("Using external transaction " + txId, LOG_CHANNEL, Logger.INFO);
slideToken.setExternalTx();
// pure reads must be guaranteed to be inside transaction as well
slideToken.setForceStoreEnlistment(true);
Transaction tx = externalTransaction.getTransaction();
token.getTransactionManager().resume(tx);
transactionIsStarted = true;
}
}