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

Spring framework samples for data access, messaging, configuration, and application wiring.

Use when Java applications need Spring-managed components backed by Oracle AI Database.

Highlights

  • Java 21+, Maven
  • Docker compatible environment