ing-mattioni commented on code in PR #11242:
URL: https://github.com/apache/nifi/pull/11242#discussion_r3257461577


##########
nifi-extension-bundles/nifi-amqp-bundle/nifi-amqp-processors/src/main/java/org/apache/nifi/amqp/processors/PublishAMQP.java:
##########
@@ -166,6 +166,12 @@ protected void processResource(final Connection 
connection, final AMQPPublisher
             return;
         }
 
+        if (flowFile.getSize() > Integer.MAX_VALUE) {

Review Comment:
   Addressed by adding a configurable outbound body-size property with a 64 MB 
default and upper bound, so oversized FlowFiles are routed to failure before 
reading content into memory.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to