Mark Bean created NIFI-14906:
--------------------------------

             Summary: ListenHTTP provides FlowFile package name to contained 
FlowFiles
                 Key: NIFI-14906
                 URL: https://issues.apache.org/jira/browse/NIFI-14906
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 2.5.0
            Reporter: Mark Bean
            Assignee: Mark Bean


Scenario: One or more FlowFiles are packaged into a single FFv3 FlowFile 
package using PackageFlowFile. Using InvokeHTTP, the FlowFile package is sent 
to ListenHTTP. InvokeHTTP is configured to send all attributes (or at least 
`filename` attribute) in the HTTP headers (Request Header Attributes Pattern 
property.)  ListenHTTP receives a FFv3 packaged FlowFile sent by InokeHTTP.

ListenHTTP automatically unpacks the FFv3 package into individual FlowFiles.  
However, the filename of all FlowFiles is the filename of the FFv3 package 
FlowFile. The original filenames within the package are lost.

Proper behavior would allow the unpacked FlowFile to retain its original 
filename.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to