You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2026/01/28 14:49:00 UTC
[jira] [Updated] (NIFI-15517) Replace use of deprecated ConcurrentTaskScheduler default constructor with API suggested replacement
[ https://issues.apache.org/jira/browse/NIFI-15517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Stieglitz updated NIFI-15517:
------------------------------------
Summary: Replace use of deprecated ConcurrentTaskScheduler default constructor with API suggested replacement (was: Replaced use of deprecated ConcurrentTaskScheduler default constructor with API suggested replacement)
> Replace use of deprecated ConcurrentTaskScheduler default constructor with API suggested replacement
> ----------------------------------------------------------------------------------------------------
>
> Key: NIFI-15517
> URL: https://issues.apache.org/jira/browse/NIFI-15517
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
>
> In recent build the following deprecation notice indicates the default constructor for ConcurrentTaskScheduler is deprecated.
> {code:java}
> 2026-01-27T23:19:38.4234681Z [WARNING] /home/runner/work/nifi/nifi/nifi-extension-bundles/nifi-email-bundle/nifi-email-processors/src/main/java/org/apache/nifi/processors/email/AbstractEmailProcessor.java:[332,82] [deprecation] ConcurrentTaskScheduler() in ConcurrentTaskScheduler has been deprecated{code}
> The suggestion per the [javadocs|https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/scheduling/concurrent/ConcurrentTaskScheduler.html#%3Cinit%3E()] is to use the constructor which takes a ScheduledExecutorService as an argument.
> The goal of this ticket is to replace the use of the deprecated ConcurrentTaskScheduler with the use of the constructor which takes a ScheduledExecutorService as an argument.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)