-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[AMQ-9239] Jakarta JMS broker #996
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
Conversation
|
Just noticed this and wanted to say the TODO about stompjms update to Jakarta seems like something you might want to skip, that project hasn't seen activity since 2016 I think and depends on other equally dead projects like 'hawtio'. I'd maybe just remove any dependency on it at this point. |
@tabish121 good call. I'll update to that effect. |
activemq-http-[ ] WSSTransportHttpTraceTest needs SSL setup repair -- JDK 17 enforces SNI rules (no 'localhost') Unit test runs:I could use a set of eyes on the Jetty stopTimeout issue. The vast majority of unit tests are failing due to lifecycle problem w/ Jetty 11 taking too long to shutdown some resources. Setting a breakpoint (and some natural amount of time passing > 10s) and the tests pass. When I set the stopTimeout to 5s (up from current 500ms, the tests fail. Jetty 11 stopTimeout related classesref: https://stackoverflow.com/questions/65443271/set-up-websockets-with-jetty-11 |
|
Is the jakarta supported activemq-broker jar going to be released? |
|
@hellokkiyer yes. Once the work on this PR is completed, Jakarta support for ActiveMQ 5.x broker will be released. Currently, we are planning to target 5.19.0 for Jakarta broker support. |
|
@mattrpav Thanks for the prompt response. Any tentative or approximate date for 5.19 release? It would help us plan our release better. Thanks in advance. |
|
@hellokkiyer no exact ETA at this point. I suspect a few weeks to 1-2 months max (hopefully?!) |
|
@mattrpav Nice to see this PR in running mode. Can we use apache activemq with Spring 6 without this PR as jakarta modules are required in Spring 6.0.0? I have a project with spring version is 5.3.27 and apache active client version is 5.18.1 and it's running fine. As soon as I upgrade the Spring to 6.0.0 it starts giving me "java.lang.IllegalStateException: Cannot convert value of type 'org.apache.activemq.pool.PooledConnectionFactory' to required type 'jakarta.jms.ConnectionFactory' for property 'connectionFactory': no matching editors or conversion strategy found". |
|
@maverickabhi1991 The pooled connection factory has not been ported to jakarta yet. That's part of this change, which moves all of ActiveMQ 5.x to Jakarta. You can use Spring 6 w/ activemq-client-jakarta, but not with a pooled connection factory at the moment. |
|
Web console queue functions - pause, resume and delete throw exception: |
|
Hello, any chance to merge this PR in coming days? Very important functional. |
|
Hi @demidov163- There are a couple things left to sort out. I'm hoping its in the next 1-2 weeks. Currently, the team is working on 5.17.x and 5.18.x point releases. Thanks! |
|
@mattrpav - I submitted a PR to this branch to fix the http timeout stuff mattrpav#1 |
|
hi @mattrpav |
|
Any idea when this change will be available? or is there any other alternative to migrate for jakarta? |
|
What is the plan to release this functionality? We need this for your migration to JDK17 and Spring 6. |
|
@narendranss @prasad5400 reminder-- the 5.18.2 release has support for a Jakarta client, and you can use SB3, Spring 6 and Java 17 with activemq-client-jakarta-5.18.2.jar. As far as schedule, we are working through the last few issues and dependency clean-ups. I've had a 'green' CI run, so I have not seen any major bugs or issues up to this point. |
hi @mattrpav |
|
@ksdevelops we are targeting September |
|
The ParallelXATransactionTest seems to be failing because you don't have an XA transaction manager being used, the new config you added uses two local JMS transaction managers. You need to replacement for Geronimo/Jencks such as Atomikos or mock something. Some of the errors I get when running locally: This stack trace is showing there is no distributed transaction in progress. This stack trace shows that the JmsTransactionManager is calling commit() on the ActiveMQ XA transaction which isn't allowed and that is because the JmsTransactionManager doesn't know how to handle XA. |
|
So anyways, you will need to configure a proper JTA/XA transaction manager set up if you want to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1,321 of 1,421 files changed are namespace-only changes
|
Reviewer checklist Files that had changes other than simple package namespace change. activemq-amqp
activemq-http
test/resources
activmeq-kahadb-store
activemq-ra
activemq-spring
activemq-unit-tests
activemq-web-console
activemq-web-demo
activemq-web
assembly
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tried running a test release build with all the plugins? For example, I'm getting errors trying to build javadocs so that needs to be fixed.
Also, we should make sure that activemq-openwire-generator works and that is apparently broken with JDK 17. See: https://lists.apache.org/thread/rfjh94otnbx8h1rxs0l7d654zbf436wn
With the new Jetty updates the shutdown is being blocked by any calls to open BlockingQueueTransports that are waiting on queue.poll(). This commit sends a shutdown info packet to unblock the poll() and also increases the timeout to something more reasonable such as 30 seconds.
…ivemq-web changes
cshannon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went through a lot of custom tests with this and everything is looking good and I didn't find any issues. I think this is good to merge now. There are still some follow up things to fix like OSGi and openwire generation but there is time for that in follow on PRs before 5.19.0 goes out.
|
@mattrpav Hi, is there a roadmap when |
|
@aeberhardo it's not |
|
hi @jbonofre |
|
No that's not the case anymore (the website should be updated): we discussed on the mailing list to keep on our ActiveMQ versioning. So ActiveMQ 6.0.0 will be ActiveMQ (not Artemis). I will update the website. |
|
@jbonofre Kindly let us know when we can expect the active mq 6.0.0 which has upgrade to jakarta for PooledConnectionFactory. |
|
@HarikrishnaSelvarangan as said on the mailing list, it's planned for this week. We have a bunch of releases in preparation. So if the vote goes well, 6.0.0 should be available next week. |
|
Hi @jbonofre, we could see last week 5.18.3 had been published for activemq-pool which doesn't have Jakarta upgrade. Can we expect activemq-pool with Jakarta this week or any tentative date ? |
|
@jbonofre , any update on release of version 6.0.0 with support of jakarta in activemq broker? |
|
@kunal-bhatia you can follow the dev mailing list where we provide updates. I plan to submit 6.0.0 to vote before the end of this week. If the vote pass, 6.0.0 will be available next week. |
Reviewer Notes:
TODO:
Tests passing:
Short term (other JIRA):
Long term (another JIRA):