7.12 Configure Java Apps to Leverage Transactional Event Queues
Integrate Oracle MicroTx library with your application to leverage the Oracle Transactional Event Queues (TEQ) feature.
The Oracle Transactional Event Queues (TEQ) feature is available with Oracle Database. It provides database-integrated message queuing functionality. See Transactional Event Queues Leverage Oracle Database in Transactional Event Queues and Advanced Queuing User's Guide.
TEQ has a publisher and a subscriber. Integrate the MicroTx library files with the publisher.
Application developers use a custom annotation, MicroTxXATopicSession
, provided by the MicroTx library to inject a TEQ session and use it in their application code. The MicroTx 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 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 library with your Spring REST participant application to leverage the Oracle Transactional Event Queues (TEQ) feature.
Parent topic: Develop Applications with XA