Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Oracle Advanced Queuing and Jakarta namespace

I am using Oracle AQ in my Java Spring Boot application. I have Oracle JMS implementation AQAPI as dependencies.

Recently I had tried to update the application to Spring Boot 3.x which is build on Jakarta, not Javax namespace. However my code is no longer compatible with Oracle AQ since is using Javax namespace, i.e. javax.jms.Connection.

So question how to solve this problem? Seems like Oracle has not yet produced new version of AQAPI compatible with Jakarta MS

like image 455
Ev.Rei. Avatar asked Jan 24 '26 15:01

Ev.Rei.


1 Answers

Just to complete @mathze's response and copy/paste here current official maven coordinates.

You just have to migrate to com.oracle.database.messaging:aqapi-jakarta (Jakarta JMS 3.0)

<!-- https://mvnrepository.com/artifact/com.oracle.database.messaging/aqapi-jakarta -->
<dependency>
    <groupId>com.oracle.database.messaging</groupId>
    <artifactId>aqapi-jakarta</artifactId>
    <version>23.2.0.0</version>
</dependency>

NB. note that -jakarta was added in artifactId.

like image 160
jahk04 Avatar answered Jan 27 '26 01:01

jahk04



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!