Description:

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.

Additional Details...

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.

NameDescriptionDefault ValueValid ValuesELSensitive
Identify ZIPDetermines whether or not to attempt in depth identification of ZIP MIME typesfalse
  • true
  • false
NoNo
Identify TARDetermines whether or not to attempt in depth identification of TAR MIME typesfalse
  • true
  • false
NoNo

Relationships:

NameDescription
successAll FlowFiles are routed to success