3.12 Configure Java Apps to Leverage Transactional Event Queues
Integrate Oracle MicroTx Distributed Transactions library with your application to leverage the Oracle Transactional Event Queues (TEQ) feature.
TEQ has a publisher and a subscriber. Integrate the MicroTx Distributed Transactions library files with the publisher.
Application developers use a custom annotation, MicroTxXATopicSession, provided by the MicroTx Distributed Transactions library to inject a TEQ session and use it in their application code. The MicroTx Distributed Transactions maintains the session lifecycle, which includes the initializing the session, attaching the session to an ongoing XA transaction to perform XA operations, and terminating the session.
- Required Privileges
Grant the required privileges to the database user to leverage the Oracle Transactional Event Queues (TEQ) feature. - Configure JAX-RS Participant App to Leverage Transactional Event Queues
Use the information provided in this section to integrate Oracle MicroTx Distributed Transactions library with your JAX-RS participant application to leverage the Oracle Transactional Event Queues (TEQ) feature. - Configure Spring REST Participant App to Leverage Transactional Event Queues
Use the information provided in this section to integrate Oracle MicroTx Distributed Transactions library with your Spring REST participant application to leverage the Oracle Transactional Event Queues (TEQ) feature.
Parent topic: Develop Applications with XA