[ 
https://issues.apache.org/jira/browse/CAMEL-24402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Graf updated CAMEL-24402:
----------------------------------
    Summary: threadNamePattern is constructed to early  (was: threadNamePattern 
constructed to early)

> threadNamePattern is constructed to early
> -----------------------------------------
>
>                 Key: CAMEL-24402
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24402
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-base-engine
>    Affects Versions: 4.22.0
>            Reporter: Benjamin Graf
>            Priority: Minor
>
> BaseExecutorServiceManager does construct property {{threadNamePattern}} in 
> {{doInit()}} method quite early. Therefor it uses {{camelContext.getName()}} 
> {{DefaultCamelContextNameStrategy}} producing names like "camel-1" even if it 
> is later configured with something else. This causes every thread to have a 
> "wrong" name by default.
> As far as I can see {{threadNamePattern}} can be lazy constructed in first 
> call of {{BaseExecutorServiceManager.getThreadNamePattern()}}.



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

Reply via email to