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’. In addition, the attribute mime.extension will be set if a common file extension for the MIME Type is known.
compression, gzip, bzip2, zip, MIME, mime.type, file, identify
This component has no required or optional properties.
|success||All FlowFiles are routed to success|
|mime.type||This Processor sets the FlowFile's mime.type attribute to the detected MIME Type. If unable to detect the MIME Type, the attribute's value will be set to application/octet-stream|
The following MIME Types are detected:
- application/flowfile-v1 (requires Identify TAR be set to true)