springspring-bootjmsspring-jmsjakarta-migration

Sonic MQ 12.0 not able to connect with Spring Boot 3.3.1 version


While creating ConnectionFactory by using TopicConnectionFactory with the latest version of spring boot 3.3.1, facing issue like jakarta package is expected by progress.message.jclient.TopicConnectionFactory which is not available currently.

Tried with setting up the TopicConnectionFactory with Spring-stater-jms with latest version not able to fetch Sonic Client, Looking for the Listener Setup with Spring boot 3 & jakarta


Solution

  • Spring Boot 3 only supports the Jakarta namespace which means you can't use anything in the javax namespace (e.g. javax.jms.*). Therefore, you'll need to get a client implementation from SonicMQ that supports the Jakarta namespace.