From 97cb3c4eaa0eb509653e7e4f5182ef7bcb7e2bd6 Mon Sep 17 00:00:00 2001 From: exceptionfactory Date: Thu, 26 Jan 2023 08:26:29 -0600 Subject: [PATCH] NIFI-11101 Deprecated ConsumeEWS Processor Signed-off-by: Pierre Villard This closes #6893. --- .../java/org/apache/nifi/processors/email/ConsumeEWS.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nifi-nar-bundles/nifi-email-bundle/nifi-email-processors/src/main/java/org/apache/nifi/processors/email/ConsumeEWS.java b/nifi-nar-bundles/nifi-email-bundle/nifi-email-processors/src/main/java/org/apache/nifi/processors/email/ConsumeEWS.java index 22e5080d8c..ef676411bf 100644 --- a/nifi-nar-bundles/nifi-email-bundle/nifi-email-processors/src/main/java/org/apache/nifi/processors/email/ConsumeEWS.java +++ b/nifi-nar-bundles/nifi-email-bundle/nifi-email-processors/src/main/java/org/apache/nifi/processors/email/ConsumeEWS.java @@ -50,6 +50,7 @@ import org.apache.commons.mail.HtmlEmail; import org.apache.commons.mail.MultiPartEmail; import org.apache.nifi.annotation.behavior.InputRequirement; 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.OnStopped; import org.apache.nifi.components.PropertyDescriptor; @@ -85,6 +86,9 @@ import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; import java.util.concurrent.TimeUnit; +@DeprecationNotice( + reason = "The supporting ews-java-api library is no longer maintained" +) @InputRequirement(InputRequirement.Requirement.INPUT_FORBIDDEN) @CapabilityDescription("Consumes messages from Microsoft Exchange using Exchange Web Services. " + "The raw-bytes of each received email message are written as contents of the FlowFile")