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

Mark Payne commented on NIFI-5641:
----------------------------------

[~mike.thomsen] unless I am missing something, this already happens:
{code:java}
outgoingFlowFile = (input == null) ? session.create() : 
session.create(input);{code}
The only time that we call {{session.create()}} we do by passing in the 
incoming FlowFile, if there is one. This will properly copy the attributes of 
the incoming FlowFile to the outgoing FlowFile. It appears that you reviewed & 
merged this commit already for 1.8.0.

> GetMongo should be able to copy attributes from input flowfile to result set 
> flowfiles
> --------------------------------------------------------------------------------------
>
>                 Key: NIFI-5641
>                 URL: https://issues.apache.org/jira/browse/NIFI-5641
>             Project: Apache NiFi
>          Issue Type: New Feature
>            Reporter: Mike Thomsen
>            Assignee: Mike Thomsen
>            Priority: Minor
>
> User requested that GetMongo should be able to copy the attributes that come 
> from the input flowfile to the result set flowfiles. Should be implemented as 
> an optional property, off by default.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to