You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2024/09/22 06:40:00 UTC

[jira] [Comment Edited] (CAMEL-21247) camel-core - CamelThreadFactory should create thread via newer JDK api

    [ https://issues.apache.org/jira/browse/CAMEL-21247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17883569#comment-17883569 ] 

Claus Ibsen edited comment on CAMEL-21247 at 9/22/24 6:39 AM:
--------------------------------------------------------------

Ah yeah that seems its already there. And just to be sure, this class will only be in the JAR if the project is built with a JDK21 compiler. And the Camel releases are now done with that.


was (Author: davsclaus):
Ah yeah that seems its already there. And just to be sure, this class will only be in the JAR if the project is built with a JDK21 compiler.

> camel-core - CamelThreadFactory should create thread via newer JDK api
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-21247
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21247
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 4.9.0
>
>
> In CamelThreadFactory then we use new Thread... code.
> However to prepare for JDK21 virtual threads, we should create it via Thread.platformOf vs Virtual Threads. (require JDK21 runtime)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)