JavaStandalone

Spring Java Message Service (JMS) Example

Spring Boot JMS pub-sub example for Oracle AI Database Transactional Event Queues.

TxEventQSpring#Java#JMS#SpringBoot#TxEventQ
What this sample helps you learn

This example demonstrates how to write a pub/sub application using [Spring JMS](https://spring.io/guides/gs/messaging-jms) and [Oracle AI Database Transactional Event Queues](https://docs.oracle.com/en/database/oracle/oracle-database/26/adque/aq-introduction.html). If you're unfamiliar with Transactional Event Queues, it is a high-throughput, distributed asynchronous messaging system built into Oracle AI Database. The integration of Transactional Event Queues with Spring JMS provides a simple interface for rapid development of messaging applications.

What this sample demonstrates

TxEventQ

Transactional queues for database-backed events and messaging.

Use when event delivery and data changes need the same transaction boundary.

Spring

Runnable Spring behavior on Oracle AI Database.

Use when Spring needs to be tested against real database behavior.

Highlights

  • Java 21+, Maven
  • Docker compatible environment