mattrpav commented on PR #433:
URL: https://github.com/apache/felix-dev/pull/433#issuecomment-3362483744

   I solved for MRJ usage in ActiveMQ for Virtual Thread support without adding 
additional Maven modules based on JDK version.
   
   1. Use a MRJ for activemq-client (thread factory lives here)
   
   2. In the unit test project, use a Maven profile that activates on JDK 
version to add an additional test sources folder to the build. The result is 
that matrix builds using JDK 17 and 21 will pass, and the JDK 21-only test 
classes will be included in the test run used by JDK 21.
   
   ref: https://github.com/apache/activemq/pull/1504


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to