kevdoran commented on code in PR #10530:
URL: https://github.com/apache/nifi/pull/10530#discussion_r2530037798


##########
nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ListenTCP.java:
##########
@@ -211,6 +226,20 @@ public void onScheduled(ProcessContext context) throws 
IOException {
         }
     }
 
+    @Override
+    public List<ListenPort> getListenPorts(final ConfigurationContext context) 
{
+        final Integer portNumber = 
context.getProperty(PORT).evaluateAttributeExpressions().asInteger();
+        if (portNumber != null) {
+            final ListenPort port = StandardListenPort.builder()
+                .portNumber(portNumber)
+                .portName(PORT.getDisplayName())
+                
.transportProtocol(org.apache.nifi.components.listen.TransportProtocol.TCP)

Review Comment:
   Same as above



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