sedadgn commented on a change in pull request #5458:
URL: https://github.com/apache/nifi/pull/5458#discussion_r751279398



##########
File path: 
nifi-nar-bundles/nifi-amqp-bundle/nifi-amqp-processors/src/main/java/org/apache/nifi/amqp/processors/ConsumeAMQP.java
##########
@@ -99,6 +103,28 @@
         .required(true)
         .build();
 
+    static final PropertyDescriptor ESCAPE_COMMA = new 
PropertyDescriptor.Builder()
+        .name("escape.comma")
+        .displayName("Escape Comma")
+        .description("When there is a comma in the header itself, with the 
help of this parameter, the header's own commas are escaped. "
+             + "When this parameter is selected true, the Unescape Comma 
parameter in PublishAMQP processor must be set to true ")

Review comment:
       Our scenario is as follows:
   our publisher -> nifi consumer -> transform-> nifi publisher -> our consumer
   so now it can work with different publishers. It can also work on its own 
when no changes are made to the newly added parameters. But when the 
ESCAPE_COMMA_VALUE_IN_HEADER parameter in ConsumeAMQP is true, the 
UNESCAPE_COMMA_VALUE_IN_HEADER parameter in PublishAMQP must also be true to 
get the comma value as it is entered.




-- 
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: issues-unsubscr...@nifi.apache.org

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


Reply via email to