[jbossts-issues] [JBoss JIRA] (JBTM-2856) Add a way to register an interposed synchronization without associating the txn
David Lloyd (JIRA)
issues at jboss.org
Thu Feb 23 11:47:00 EST 2017
David Lloyd created JBTM-2856:
---------------------------------
Summary: Add a way to register an interposed synchronization without associating the txn
Key: JBTM-2856
URL: https://issues.jboss.org/browse/JBTM-2856
Project: JBoss Transaction Manager
Issue Type: Enhancement
Components: Application Server Integration
Reporter: David Lloyd
Assignee: Amos Feng
It would be very useful to the application server if there were an API method to register an interposed synchronization on a transaction that was not currently associated with the calling thread, the same way that non-interposed synchronizations can be. Right now the only two options are to use TransactionSynchronizationRegistry, which requires that the existing transaction be suspended and a new one associated, or to use reflection to directly call the registerSynchronizationImple method of the transaction. Neither one is optimal.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbossts-issues
mailing list