-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Update JmsIO to ActiveMQ 6.2.5 and jakarta.jms #38729
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -597,7 +597,7 @@ class BeamModulePlugin implements Plugin<Project> { | |
| // | ||
| // There are a few versions are determined by the BOMs by running scripts/tools/bomupgrader.py | ||
| // marked as [bomupgrader]. See the documentation of that script for detail. | ||
| def activemq_version = "5.19.2" | ||
| def activemq_version = "6.2.5" | ||
| def autovalue_version = "1.9" | ||
| def autoservice_version = "1.0.1" | ||
| def aws_java_sdk2_version = "2.20.162" | ||
|
|
@@ -641,7 +641,7 @@ class BeamModulePlugin implements Plugin<Project> { | |
| def protobuf_version = "4.33.2" | ||
| // TODO(https://github.com/apache/beam/issues/37637): Remove this once the Bom has been updated to at least reach this version | ||
| def bigtable_version = "2.73.1" | ||
| def qpid_jms_client_version = "0.61.0" | ||
| def qpid_jms_client_version = "2.10.0" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Qpid JMS Client 2.x requires Java 11 as a minimum runtime version. Since Apache Beam still supports Java 8, upgrading |
||
| def quickcheck_version = "1.0" | ||
| def sbe_tool_version = "1.25.1" | ||
| def singlestore_jdbc_version = "1.1.4" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,7 +32,7 @@ dependencies { | |
| implementation project(path: ":sdks:java:core", configuration: "shadow") | ||
| implementation library.java.slf4j_api | ||
| implementation library.java.joda_time | ||
| implementation "org.apache.geronimo.specs:geronimo-jms_2.0_spec:1.0-alpha-2" | ||
| implementation "jakarta.jms:jakarta.jms-api:3.1.0" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
To maintain Java 8 compatibility while migrating to the |
||
| testImplementation library.java.activemq_amqp | ||
| testImplementation library.java.activemq_broker | ||
| testImplementation library.java.activemq_jaas | ||
|
|
||
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.
ActiveMQ 6.x requires Java 17 as a minimum runtime version. Since Apache Beam still supports and runs tests on Java 8 and Java 11, upgrading
activemq_versionto6.2.5will cause test execution failures (such asUnsupportedClassVersionError) on Java 8 and Java 11 environments.Please consider restricting the JmsIO tests to only run when the build JDK is 17 or higher, or verify how Java 8/11 compatibility will be maintained for the test suite.