This is an automated email from the ASF dual-hosted git repository.

joewitt pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/support/nifi-1.x by this push:
     new 1a5798b1fe NIFI-12108 This closes #7773. Deprecated 
SpringContextProcessor for removal
1a5798b1fe is described below

commit 1a5798b1fe620e037c99e4900b85c8e6f8e4270b
Author: exceptionfactory <exceptionfact...@apache.org>
AuthorDate: Thu Sep 21 15:58:50 2023 -0500

    NIFI-12108 This closes #7773. Deprecated SpringContextProcessor for removal
    
    Signed-off-by: Joseph Witt <joew...@apache.org>
---
 .../src/main/java/org/apache/nifi/spring/SpringContextProcessor.java    | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/nifi-nar-bundles/nifi-spring-bundle/nifi-spring-processors/src/main/java/org/apache/nifi/spring/SpringContextProcessor.java
 
b/nifi-nar-bundles/nifi-spring-bundle/nifi-spring-processors/src/main/java/org/apache/nifi/spring/SpringContextProcessor.java
index c6497db850..a1d7edcee4 100644
--- 
a/nifi-nar-bundles/nifi-spring-bundle/nifi-spring-processors/src/main/java/org/apache/nifi/spring/SpringContextProcessor.java
+++ 
b/nifi-nar-bundles/nifi-spring-bundle/nifi-spring-processors/src/main/java/org/apache/nifi/spring/SpringContextProcessor.java
@@ -19,6 +19,7 @@ package org.apache.nifi.spring;
 import org.apache.commons.lang3.StringUtils;
 import org.apache.nifi.annotation.behavior.TriggerWhenEmpty;
 import org.apache.nifi.annotation.documentation.CapabilityDescription;
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
 import org.apache.nifi.annotation.documentation.Tags;
 import org.apache.nifi.annotation.lifecycle.OnScheduled;
 import org.apache.nifi.annotation.lifecycle.OnStopped;
@@ -133,6 +134,7 @@ import java.util.concurrent.TimeUnit;
  * representation of the content that is being exchanged between NiFi and
  * Spring.
  */
+@DeprecationNotice(reason = "Alternative event-handling solutions should be 
used")
 @TriggerWhenEmpty
 @Tags({ "Spring", "Message", "Get", "Put", "Integration" })
 @CapabilityDescription("A Processor that supports sending and receiving data 
from application defined in "

Reply via email to