How to Configure

Once the Thru MFT Connector has been placed in your flow it needs to be configured so that it can talk to Thru MFT.

  • To use the Thru MFT Connector in a Mule application flow, you must configure the Global Element Properties (XML tag ) for each flow.

  • Global Element properties are used by the Thru MFT Connector instances running in the flow. They are used for authorization to communicate with a selected instance of Thru MFT service and a selected Transport in that service instance (read more about Global Elements).

Thru MFT connector provides the following Global Element properties for each flow:

Field

Description

Name

Enter a descriptive name for the Thru MFT Transport to which Thru MFT connector will communicate. A recommended practice is to add the public transport code to the end for troubleshooting purposes. For example, ThruTransport__TRN2V47

API URL

The URL defines the Thru MFT instance, running the Transport, to which the Thru connector communicates. It is provided to the administrator when web API access is configured for a Transport in the Thru MFT portal (see screenshot below).

Site URL

The URL defines a file repository used by Thru MFT. It is provided to the administrator when web API access is configured for a Transport in the Thru MFT portal (see screenshot below).

Site Key

The API Key for the connector to access the Thru MFT instance. It is provided to the administrator when web API access is configured for a Transport in Thru MFT portal (see screenshot below).

Flow Secret

A secret key for the Thru MFT connector, specific to access the selected Transport. It is provided to the administrator when web API access is configured for a Transport in the Thru MFT portal (see screenshot below).

Connector Timeout

Specifies the number of milliseconds the connector will wait after firing off an HTTP request before considering it “timed out”.


Example: Thru Connector Access information provided when API access is configured for a Transport in Thru MFT.


  1. Click the Thru MFT icon in the palette in the right pane.

  2. Select which action to perform from the list.

  3. In the bottom pane, click the drop-down arrow for the Connector configuration box and select a configuration.

  4. If no connector configuration exists, create a new one by clicking the plus icon next to the box.

  5. Give your flow property a name. (It is recommended to name based on the transport name or on an action to distinguish between multiple).

  6. Enter the information saved from Thru including API URL, Storage Repository, Site Key, and Flow Secret.

  7. Set the Connection Timeout to 30,000. (measured in milliseconds).

  8. Test the connection.

  9. Click OK.

Global Element Properties to use Thru MFT Connector in a Mule Flow: