spring-bootspring-jmstibco-ems

Using tibco ems with spring boot3


We are using Tibco EMS for reading messages from a queue. This is done in a spring boot application. After migrating to spring boot 3.x we see errors that the javax.jms.Queue class can not be found. This is somehow clear because everything moved to Jakarta namespace. The specific version of tibco is com.tibco.tibjms:8.5.1

Questions.


Solution

  • TIBCO EMS 10.2 supports Jakarta Messaging 3.0

    See below extract from the release notes ..

    This release adds support for the Jakarta Messaging 3.0 specification. Jakarta EE, formerly Java EE, has renamed the javax.jms package into jakarta.jms with the Jakarta EE 9 release. The Jakarta Messaging 3.0 specification reflects the corresponding change of namespace. EMS implements both Jakarta Messaging 2.0 (javax.jms namespace) and 3.0 (jakarta.jms namespace) in the form of two sets of jar files – see the TIBCO Enterprise Message Service User Guide for details.

    You must keep using the original set of jar files to run applications based on Jakarta Messaging 2.0 (also note that the JMS interface file has been renamed – see in the Changes in Functionality section) and switch to the new set to run applications based on Jakarta Messaging 3.0, primarily for use in the Jakarta EE 9+ world.