Running the full Managed File Transfer sample

Before you can run the full (request/reply) sample, you must have imported and deployed the sample, see Managed File Transfer sample.

An example input test message and the corresponding output message, produced by the FTEOutput node, are provided so that you can confirm that the sample has worked.

If problems arise when you run the sample, see Preparing the environment for WebSphere MQ File Transfer Edition nodes or Resolving problems when running samples in the WebSphere Message Broker documentation.

Input test message

The test message that is used to run this sample represents product delivery data for a branch. The end-of-day sales application of the branch outlet generates one message with one record for each product, followed by a final message indicating end-of-data for branch outlet.

Example stock replenishment message: StockReplenishmentRequest_123.txt

Running the sample

  1. In the Broker Development view, expand FTENodesSampleFlowProject.
  2. Under Flow Tests, double-click Msg1.StockReplenishmentRequestFromBranch.mbtest to open it in the Test Client.
  3. In the Test Client, click Enqueue.
  4. In the Detailed Properties panel, click Send message.
  5. To check that the updated message has been output to a file in the specified directory:
    1. Go to the file system and look in the appropriate directory. For example:
      • On Windows:

        C:\Documents and Settings\All Users\Application Data\IBM\MQSI\common\FTE\MB8BROKER\FTEBRANCH123\Inbox\ToBranch

      • On Linux:

        /var/mqsi/common/FTE/MB8BROKER/FTEBRANCH123/Inbox/ToBranch

    2. Open the StockReplenishmentInvoice_123.xml file.

Expected output message from the FTEOutput node

Compare your file with the expected output message: StockReplenishmentInvoice_123.txt

The output message from the FTEOutput node appends all the messages sent to the flow with the updates. The expected message is formatted with carriage returns to aid readability.

If you do not see your message in the appropriate directory, in the Test Client, click Dequeue. The message flow receives the WebSphere MQ message that was sent to the failure queue.

If all the preceding steps are successful, the sample is complete. To see how the results were achieved, look at the FTE nodes in the following message flows:

and the drivers in following message flows:

Back to sample home