Running the FTEOutput node sample only

Before you can run the FTEOutput node sample, you must have imported and deployed the sample, see Managed File Transfer sample.

An example input test message and the corresponding output file, 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 messages for the FTEOutput node

The test messages that are used to run this sample represent product delivery data for a branch. The stock provisioning application generates one message for each product, followed by a final message indicating end-of-data for the branch outlet. The messages have the following format:

This sample uses the FTEOutputHQ2BranchMFlow message flow.

Running the sample:

  1. In the Broker Development view, expand FTENodesSampleFlowProject.
  2. Under Flow Tests, double-click Msg2.StockReplenishmentInvoiceFromHQ.mbtest to open it in the Test Client.
  3. In the Test Client, click the first Enqueue.
  4. In the Detailed Properties panel, click Send message.
  5. In the Test Client, click the second Enqueue.
  6. In the Detailed Properties panel, click Send message.
  7. In the Test Client, click the third Enqueue.
  8. In the Detailed Properties panel, click Send message.
  9. In the Test Client, click the fourth Enqueue (EndofData message).
  10. In the Detailed Properties panel, click Send message. When the end-of-data message for the branch is received, the file is closed and the FTEOutput node agent initiates the transfer.
  11. To check that the updated message has been output to the 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

If all the preceding steps are successful, the sample is complete. Look at the FTEOutput node in the FTEOutputHQ2BranchMFlow message flow to see how the results were achieved.

Back to sample home