6.10 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.