[ 
https://issues.apache.org/jira/browse/NIFI-6619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16940054#comment-16940054
 ] 

HondaWei commented on NIFI-6619:
--------------------------------

[~joewitt]  [~skin27]

If we change the structure of storing relationships from HashSet to 
LinkedHashSet, so we can have the order of properties. So we can have this 
change in RouteOnAttribute. What do you think?

> RouteOnAttribute: Create new Routing Strategy to route only first rule that 
> is true
> -----------------------------------------------------------------------------------
>
>                 Key: NIFI-6619
>                 URL: https://issues.apache.org/jira/browse/NIFI-6619
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: 1.9.2
>            Reporter: Raymond
>            Priority: Major
>         Attachments: image-2019-09-12-22-15-51-027.png
>
>
> Currently the RouteOnAttribute has the strategy  "Route to Property name". 
> The behavior is that for each rule that is true a message (clone of flowfile) 
> will be sent to the next step. 
> I would like to have another strategy:
> "Route to first matched Property name" or "Route to Property name by first 
> match" or Route to first Property name which evaluates true".
> This will ensure that next step gets exactly one message.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to