Working with the Managed File Transfer Design Tool
The Managed File Transfer product has three sections:
Design, Monitoring, and Administration.
In our related demo, Working with Managed File Transfer SOA 12c, we showed you how to
monitor a file transfer.
This demo will show you how to design and set up a managed file transfer.
To get started, click the Design tab.
In the left navigation, click Transfers.
Enter name, and then click create.
A palette appears.
Now that the transfer is created, we can set parameters for this transfer.
Let's start by creating a new source coming from the embedded ftp server.
First we'll name the source.
The dropdown lets us choose the types that are available, and there are various web-based
protocols, b2b protocols, and even remote sources available.
For this demo, we will select FTP embedded.
Enter the path or choose browse button to select the path.
So now we have just completed an in bound source.
Next, we will define what types of files we will be receiving.
Here is a choice of files.
Let's enter *.zip.
With this option, we can put files in the folder on the FTP server and the transfer
will pick up files of type *.zip that reside in that folder.
And there are other options for creating other transfers from different file types.
Now we need to create a target, or we can reuse existing targets.
We want something related to SOA, so let's filter using Search to find what we want,
which is a SOA target.
Click and drag into the Target pane or click Add target and select it from the list.
It now shows up in transfers.
This is going to a SOA composite and BPEL process.
Here we can specify delivery preferences for each transfer.
We can always send a reference to the file if the file data is to large.
The advantage to sending a reference instead of attaching a large payload is to avoid storing
all of the bpel process data in the database.
Instead, just specify sending a reference if the max size is greater than 1MB.
If it's less than 1MB, go ahead and send the entire file.
We will choose file for the reference type.
Now we can add a schedule.
Oracle incorporated the Enterprise Scheduler that ships with 12c into the Managed File
Transfer product, so you don't need to install a separate scheduler.
We can choose to only invoke SOA target in afternoons or early evenings.
We can specify frequency, such as daily, and set a time to begin, such as Start at noon.
These transfers sit in the MFT repository in an active scheduled process.
We can also specify an end date and duration.
This is an enhancement to scheduler that we added for MFT.
We can remove dates such a holidays, and we can
add them back.
So, there are lots of options.
We need to set the Prepocessing actions so the files transferred are encrypted.
We need to set the process to decompress the file, and
then select the decrypt option and add it to the list.
Now select a decryption alias that's configured in the backend system.
Click OK, and the options appear.
Next, we can go back and add another Target type.
Go into the filter string and look for file.
The use case for choosing another target type is for archiving by putting it in filesystem
outside of the MFT repository.
We can drag and drop it to target or create a new target
We can reuse existing file targets by just creating a new subdirectory for the File Target.
This will override the old location with the new location.
Now, we will add a post-prcessing action Click add and select post-transfer notification.
Look at the parameters.
It gives an email notification and can apply to all file types.
We can choose to filter the file size.
This notification lets us know when larger files have been submitted.
We can configure the email message with an email template.
For instance, the email can have the header information, and email body, and more.
Once everything is set up in the parameter section, click deploy in the top right corner.
The deployment mechanism knows what artifacts are new, and it tells us what will not be
redeployed.
Click deploy, and we get message saying it was successful.
The last thing is to look for the bulk order transfer,
and we can use search to find it.
Here is the transfer.
Select it and click Show Deployment details.
The information shows the last deployed current status, the referring targets, the sources,
and more.
This is good information from the runtime.
For the most part, in MFT we have separated design from monitoring, but this is where
design has visibility into the runtime system.
So that's how you work with the MFT design tool.
See our other MFT demos for more information.