gnodet opened a new pull request, #21701:
URL: https://github.com/apache/camel/pull/21701

   ## Summary
   - Virtual thread executors (`ThreadPerTaskExecutor`) were silently skipped 
from JMX registration because `LifecycleStrategy.onThreadPoolAdd` only accepted 
`ThreadPoolExecutor`
   - Added overloaded `onThreadPoolAdd/Remove(ExecutorService)` default methods 
to `LifecycleStrategy`, `ManagementObjectStrategy`, and 
`ManagementObjectNameStrategy` for backward compatibility
   - Created `ManagedVirtualThreadExecutorMBean` interface and 
`ManagedVirtualThreadExecutor` implementation exposing basic attributes (id, 
sourceId, routeId, isVirtualThread, isShutdown)
   - Updated `BaseExecutorServiceManager` to notify lifecycle strategies for 
non-ThreadPoolExecutor instances
   - Updated `JmxManagementLifecycleStrategy` and 
`DefaultManagementObjectStrategy` to handle ExecutorService 
registration/unregistration
   
   ## Test plan
   - [x] New `ManagedVirtualThreadExecutorTest` verifies virtual thread 
executor MBeans are registered in JMX with correct attributes (JDK 21+)
   - [x] Existing `ManagedThreadPoolTest`, `ManagedThreadPoolWithIdTest`, 
`ManagedThreadPoolProfileTest`, `DualManagedThreadPoolWithIdTest`, 
`DualManagedThreadPoolProfileTest` all pass
   - [ ] CI validation
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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