Time between transaction commit and Synchronization.afterCompletion in JBoss-EAP-6
Issue
- We are using the Synchronization interface to hook into the transaction lifecycle so we can update a cache after a DB commit happens. Will the afterCompletion be invoked immediately after the transaction commits or does it get queued up and so it can take a fairly large time before this triggers?
Environment
- Red Hat JBoss Enterprise Application Platform (JBoss-EAP)
- 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
