Conversation
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
|
there is some more work in jbang I think there are some java17 tests in kubernetes plugin (run and export) the export flag for --java-version description says 17 or 21 |
|
yes, this the beginning. there is the virtual threads side |
|
https://github.com/apache/camel-spring-boot/blob/main/core/camel-spring-boot/pom.xml#L277 this should be removed in camel spring boot, and the java21 (test) folder need to be merged with the java one. I remember we had something similar in Camel too, but it seems like it was already removed |
- Jenkinsfile: remove jdk_17_latest from matrix axis and JDK_FILTER choices, remove JDK 21 excludes on ppc64le/s390x so the new baseline runs on all platforms, move coverage profile to the JDK 21 build, and run Sonar analysis on JDK 21 instead of JDK 17 - Jenkinsfile.deploy: default JDK changed to jdk_21_latest - Jenkinsfile.jbangtest: default JDK changed to jdk_21_latest Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
With JDK 21 as the minimum baseline, the multi-release JAR pattern used in camel-util and camel-support for virtual thread support is no longer needed. Merge the JDK 21 source variants (src/main/java21/) into the main source tree: - ThreadType: now checks camel.threads.virtual.enabled system property directly instead of always returning PLATFORM - CamelThreadFactory: now implements ThreadFactoryTypeAware with Thread.ofPlatform()/Thread.ofVirtual() builder support - DefaultThreadPoolFactory: now includes ThreadPoolFactoryType enum with VIRTUAL variant using Executors.newThreadPerTaskExecutor() Remove java-21-sources profile and Multi-Release JAR manifest entries from both camel-util and camel-support pom.xml files. Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
With JDK 21 as the minimum baseline, JDK 17 is no longer a valid choice for the camel-jbang export --java-version flag. - Remove 17 from @metadata enums in CamelJBangConstants - Update JBang script headers from JAVA 17+ to JAVA 21+ - Update ExportMainJibTest to test explicit Java 21 instead of 17 - Update MigrationTools to require Java 21+ for Camel 4.19+ - Regenerate metadata JSON and docs Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
|
From this side this should be completed. |
Description
Target
mainbranch)Tracking
Apache Camel coding standards and style
mvn clean install -DskipTestslocally from root folder and I have committed all auto-generated changes.