dan-s1 commented on code in PR #10564:
URL: https://github.com/apache/nifi/pull/10564#discussion_r2565188217
##########
nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ListenUDP.java:
##########
@@ -119,6 +121,11 @@ protected Collection<ValidationResult>
customValidate(ValidationContext validati
return result;
}
+ @Override
+ public void migrateProperties(PropertyConfiguration config) {
+
config.renameProperty(ListenerProperties.OLD_MESSAGE_DELIMITER_PROPERTY_NAME,
ListenerProperties.MESSAGE_DELIMITER.getName());
+ }
Review Comment:
Good catch on noticing this missed property! Would it make sense though
perhaps to pull up the `migrationProperties` method to the parent class
`AbstractListenEventBatchingProcessor` where
`ListenerProperties.MESSAGE_DELIMITER` is defined as one of its properties?
--
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]