gresockj commented on a change in pull request #5044:
URL: https://github.com/apache/nifi/pull/5044#discussion_r632555033



##########
File path: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ListenSyslog.java
##########
@@ -152,7 +145,7 @@
                 "The maximum number of Syslog events to add to a single 
FlowFile. If multiple events are available, they will be concatenated along 
with "
                 + "the <Message Delimiter> up to this configured maximum 
number of messages")
         .addValidator(StandardValidators.POSITIVE_INTEGER_VALIDATOR)
-        .expressionLanguageSupported(false)
+        
.expressionLanguageSupported(ExpressionLanguageScope.FLOWFILE_ATTRIBUTES)

Review comment:
       It might still make sense to let it be 
ExpressionLanguage.VARIABLE_REGISTRY if you want to allow for the additional 
flexibility, though it seems like a setting that wouldn't likely be 
externalized to the variable registry.




-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to