Attempts to identify the MIME Type used for a FlowFile. If the MIME Type can be identified, an attribute with the name 'mime.type' is added with the value being the MIME Type. If the MIME Type cannot be determined, the value will be set to 'application/octet-stream'. Some MIME Types require reading a significant amount of data; for these MIME Types, their identification is optional. The algorithm may have to read the entire contents of the file for each type of identification.
Tags: compression, gzip, bzip2, zip, MIME, mime.type, file, identify
Properties:
In the list below, the names of required properties appear in bold. Anyother properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language (or simply EL), and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.
Name | Description | Default Value | Valid Values | EL | Sensitive |
---|---|---|---|---|---|
Identify ZIP | Determines whether or not to attempt in depth identification of ZIP MIME types | false |
| No | No |
Identify TAR | Determines whether or not to attempt in depth identification of TAR MIME types | false |
| No | No |
Relationships:
Name | Description |
---|---|
success | All FlowFiles are routed to success |