New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch from javax.jms.* to jakarta.jms.* to support Spring Boot 3 #155
Comments
Hi, We use the Is there a roadmap for producing Spring Boot 3 compatible version? Thanks a lot! |
I got the same issue here. Any expectation for the switch to jakarta.jms? |
Up! +1 |
maybe @ziyanli-amazon again can help us here? |
Yes, i will work on to either go back to |
Same issue here |
@ziyanli-amazon Hi, this isn't solved the mentioned issue, namely it is still in the javax.jms namespace, and not in the jakarta.jms. |
Exactly :). So what some projects do, is provide a version with jakarta deps and a 2nd one with still javax - for the projects that don't want or can't move yet. Question is if one wants to maintain two versions.... To give more background: there has been a general shift from javax to jakarta since some time. That requires at least replacing all javax references from code to jakarta namespaces. The recent change on this lib here from geronimo to jms-api was perfectly fine - it introduced no breakage or so but just fixed the security issue warning. It's just that projects are more and more moving to jakarta and that requires that all dependent jars also move to jakarta namespace. Since Spring Boot did that with the recent 3 version and it's widely spread, a lot of projects moving to 3 will now require jakarta versions of their used dependencies. |
This would be awesome I was working on the same thing myself since indeed the 2.0.3 version does not address the problem |
@armogur |
It looks like many PRs are in waiting state, some are several years old, I think the AWS lab not really cares about to improve this library, but if someone at amazon asks me I will be happy to publish it. |
I'm interested by this one. It shouldn't have been closed as it doesn't fix the issue with old javax packages. |
@ziyanli-amazon can you check that package transformation process please? Unfortunately, problem is not solved with changing only dependency. Import statements must be changed as well. |
@Trebuac, @AlexRosier : |
@ziyanli-amazon Hello, is there any possibility to check that PR#177 mentioned in the comment above and merge in the library to make it publicly available? This will help many of us a lot. Thanks!! |
Yea, sorry for the late response. Will take a look |
Hi there,
i just tried to upgrade our app from Spring Boot 2.5.13 to 3.0.1. It turned out, that
spring-jms:6.0.3
expects some classes to be injakarta.jms
package, not injavax.jms
anymore. E.g.ConnectionFactory
,JMSException
,Message
orSession
. This basically prevents me from upgrading to Spring Boot 3 now.Those classes are provided transitively by
amazon-sqs-java-messaging-lib:1.1.0
, via thegeronimo-jms
dependency.Do you have any plans to switch to
jakarta
package any time soon?thx a lot!
The text was updated successfully, but these errors were encountered: