Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
2 Major
-
Resolution: Fixed
-
Affects Version/s: 2.1.6
-
Fix Version/s: 2.2
-
Component/s: ThreadPools
-
Labels:None
-
Terracotta Target:Unknown
-
Fixed In Revision:2300
Description
I am trying to understand if there is a way to customize Quartz worker thread names.
Setting "org.quartz.threadPool.threadNamePrefix: my-thread-name-prefix" in quartz properties has no effect because StdSchedulerFactory replaces it with schedName + "_Worker" (lines 1250-1254). Also,
- it does that for all SimpleThreadPool descendants
- it calls "initialize" immediately after it, which leads to actual threads creation.
So I do not see how I could easily configure thread names prefix in Quartz. Please let me know if I am missing something and if there is a way to achieve what I want.