Created
March 25, 2017 06:54
-
-
Save NagyGa1/076dce8c64ec080fbde85a64e07621f6 to your computer and use it in GitHub Desktop.
Accessing transaction status and key in JEE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Resource | |
TransactionSynchronizationRegistry tsr; | |
public String startActivity(@Nonnull final PolicyActivity activity) { | |
LOG.debug("em: {}, tsr: {} {}", em, tsr.getTransactionStatus(), tsr.getTransactionKey()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment