-
Notifications
You must be signed in to change notification settings - Fork 645
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
feat: Jakarta Messaging, #2989 #3043
Conversation
* Converted from Alpakka JMS * Jakarta Messaging 3.1 * jakarta.jms package instead of javax.jms
It would need to be added in CI |
project/Dependencies.scala
Outdated
libraryDependencies ++= Seq( | ||
"jakarta.jms" % "jakarta.jms-api" % "3.1.0", // Eclipse Public License 2.0 + + GPLv2 | ||
"org.apache.activemq" % "activemq-broker" % "6.0.0" % Test, // ApacheV2 | ||
"org.apache.activemq" % "activemq-client" % "6.0.0" % Test, // ApacheV2 |
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.
We have a problem. Jakarta support was added to activemq 6.0.0, but that requires JDK 17. We test and release with 11.
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 guess the answer to this is adding a Docker container for it.
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.
the client also requires 17, I'll see if there is an easy way to switch to another broker
project/Dependencies.scala
Outdated
libraryDependencies ++= Seq( | ||
"jakarta.jms" % "jakarta.jms-api" % "3.1.0", // Eclipse Public License 2.0 + + GPLv2 | ||
"org.apache.activemq" % "activemq-broker" % "6.0.0" % Test, // ApacheV2 | ||
"org.apache.activemq" % "activemq-client" % "6.0.0" % Test, // ApacheV2 |
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 guess the answer to this is adding a Docker container for it.
* because support for Jakarta Messaging was addd in ActiveMQ 6.0, which requires JDK 17 * using Artermis EmbeddedActiveMQ broker
libraryDependencies ++= Seq( | ||
"jakarta.jms" % "jakarta.jms-api" % "3.1.0", // Eclipse Public License 2.0 + + GPLv2 | ||
"org.apache.activemq" % "artemis-jakarta-server" % "2.31.2" % Test, // ApacheV2 | ||
"org.apache.activemq" % "artemis-jakarta-client" % "2.31.2" % Test, // ApacheV2 |
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.
Had to rewrite the tests to use Artemis instead. Was not trivial, but working now. 139f1f2
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.
LGTM.
unrelated fail in other modules |
Also includes fix to close sessions on connection loss from #3041
Refs #2989