XidFactory xidFactory = this.beanFactory.getTransactionXidFactory();
CompensableArchive archive = new CompensableArchive();
archive.setIdentifier(xidFactory.createGlobalXid());
archive.setCompensable(invocation);
this.archiveList.add(archive);
<BUG>this.transientArchiveList.add(archive);
}
public void registerSynchronization(Synchronization sync)
throws RollbackException, IllegalStateException, SystemException {</BUG>
}

XidFactory xidFactory = this.beanFactory.getTransactionXidFactory();
CompensableArchive archive = new CompensableArchive();
archive.setIdentifier(xidFactory.createGlobalXid());
archive.setCompensable(invocation);
this.archiveList.add(archive);
this.transientArchiveList.add(archive);
logger.info("{}| register compensable service: {}.",
ByteUtils.byteArrayToString(this.transactionContext.getXid().getGlobalTransactionId()),
ByteUtils.byteArrayToString(archive.getIdentifier().getGlobalTransactionId()));
}
public void registerSynchronization(Synchronization sync) throws RollbackException, IllegalStateException, SystemException {
}
