You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "redinside-dev (via GitHub)" <gi...@apache.org> on 2026/04/25 08:17:11 UTC

[PR] fix(#8525): add virtual thread support integration tests [camel-quarkus]

redinside-dev opened a new pull request, #8580:
URL: https://github.com/apache/camel-quarkus/pull/8580

   ## Why
   
   Camel Quarkus has neglected virtual thread support testing. Camel 4.19.0 introduces the \`camel.main.virtualThreadsEnabled\` configuration option, but there was no test coverage for it. Without virtual thread tests, regressions in virtual thread compatibility won't be caught.
   
   ## What
   
   Add \`CoreMainVirtualThreadsTest\` integration test class gated with \`@EnabledForJreRange(min = 21)\` since default CI baseline is JDK 17. Tests use a dedicated \`VirtualThreadsTestProfile\` that sets \`camel.main.virtualThreadsEnabled=true\` only for this test class, ensuring isolation from other tests in the module.
   
   The test class verifies:
   - **Startup**: App starts successfully with virtual threads enabled
   - **Route health**: Routes are present and CamelContext is healthy with VT
   - **Property resolution**: Property placeholder resolution works with VT
   - **Type conversion**: Custom type converters work with VT
   - **Component resolution**: Custom components resolve correctly with VT
   - **Reactive executor**: Reactive executor availability with VT
   - **Thread pool factory**: Thread pool factory availability with VT
   - **Graceful shutdown**: JMX connector service starts cleanly with VT
   
   ## Testing
   
   Tests are gated with \`@EnabledForJreRange(min = 21)\` so they are automatically skipped on JDK < 21. They use a dedicated \`QuarkusTestProfile\` that overrides \`camel.main.virtualThreadsEnabled=true\` only for the VT test class, ensuring complete isolation from the default \`CoreMainTest\` suite.
   
   ## Related issues
   
   Fixes apache/camel-quarkus#8525


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(#8525): add virtual thread support integration tests [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed pull request #8580: fix(#8525): add virtual thread support integration tests
URL: https://github.com/apache/camel-quarkus/pull/8580


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(#8525): add virtual thread support integration tests [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on PR #8580:
URL: https://github.com/apache/camel-quarkus/pull/8580#issuecomment-4324538843

   @anuragg-saxenaa If you point an AI agent at issues, please check to see whether they are already assigned, or ask if they can be worked on.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org