Thru MFT connector is an operation-based connector, meaning you need to configure a specific operation for the connector to perform if you add the connector to a Flow in a Mule application.
The connector supports the following list of operations:
File Pickup : Download (pickup) file from a linked Thru MFT Transport and pass to Mule Flow.
Polling is used and polling frequency can be set. Streaming method is used, no limits on file size.
FileDropoff: Upload (Drop-off) a file from Mule Flow to a linked Transport in Thru MFT.
File is uploaded by chunks and size is not limited. File payload, Name and Size should be provided in the message.
If outgoing file is a result of processing of incoming file (e.g. exceptions in the data), file code of original file should be provided.
Flow Outcome: Passes resulting status of the Flow to Thru MFT service, where it can be viewed in dashboards by the administrators.
Mule Flow result : 1-passed, 2-failed, 3-mixed.
Mixed cases may happen in the batch processing when some records generate exceptions.
In case of batch processing Flow Outcome may optionally return notes on the Flow outcome, ID of Mule message, counters of total and Failed records.
Simple Flow Outcome:
Batch Flow Outcome:
Batch Exception Handler: This API can return exception information from batch processing.
Information can include exception messages and records which caused exceptions.
Composition of returned information is defined by Mule Flow developer.
Information is passed to Thru MFT transport linked to the Mule Flow, is stored in Thru MFT metadata database and available for review in dashboards by administrators.
Size of the returned exception metadata is limited to 10MB per call.
In case if records which failed processing should be passed back to the Organization that sent the data, best practice is to provide limited exception information in this call and fill list of exception records in exception file for File DropOff call.
FileMetadata: The API call returns various metadata about Transport, Organization and File which participate in file transfer.