I am using eclipse transformer for javax to jakarta conversion, in the similar lines I converted my activemq-all 5.16.7 into jakarta using the same eclipse transformer, no errors during compilation, but while running the application it is not returning from below line: "ConnectionFactory.createConnection()"
means it is not able to establish the connection with broker.
Appreciate any help.
Running a client jar through a byte-code translator to make it use jakarta
instead of javax
is unlikely to work and certainly not something that has been tested or is supported by the ActiveMQ community.
If you want to use Jakarta classes from a client connecting to ActiveMQ Classic then you'll need to either of the following:
activemq-client-jakarta
from ActiveMQ Classic 5.18.1 and aboveactivemq-client
from ActiveMQ Classic 6.xKeep in mind that ActiveMQ Classic doesn't yet fully support JMS 2 (and therefore Jakarta Messaging 2 & 3.x). If you want full support for these you'll need to migrate to ActiveMQ Artemis.