Receiving a file by IBM MQ File Transfer Edition

Use the FTEInput node to receive files from an existing IBM® MQ File Transfer Edition network.

Before you begin

  1. Read about IBM MQ File Transfer Edition.
  2. Ensure that IBM MQ is installed on the same machine as your integration node. Information about file transfers is held on storage queues that are controlled by IBM MQ, so you must install IBM MQ on the same computer as your integration node if you want to use the capabilities provided by the FTEInput node.
  3. Ensure that a queue manager has been specified on the integration node; this queue manager will own the system queues that store information about the file transfer. For information about specifying a queue manager on the integration node, see mqsicreatebroker command.
  4. Create the system queues that will store the file transfer information. For more information about creating the system queues, see Creating the default IBM Integration Bus queues on a IBM MQ queue manager.
  5. Prepare the environment.

About this task

Complete the following steps to create an FTEInput node message flow using the default settings. The task includes some optional steps for additional configuration, but detailed information about configuring the FTEInput node is given on the property panels for the node, in the IBM Integration Toolkit.


  1. Drag an FTEInput node onto a message flow and wire its Out terminal to an output node of your choice.
  2. Optional: To process only a defined subset of files sent to an agent, configure the Basic panel.
    This action allows multiple FTEInput nodes in the same integration server to receive specific files, depending on the directory or file filters specified.

    You can also specify whether, after processing, the file should be left in its directory, renamed, or deleted.

  3. To change how the node handles a message flow failure, configure the Retry panel.
  4. Optional: To change how records are identified in the input file, configure the Record detection property on the Records and Elements panel.
    For example, you might want to specify that a record is fixed length, and set the record length.
    1. If you set the Record detection property to anything other than Whole File, drag an additional output node to the flow, such as the MQOutput node. Wire the End of Data terminal on the FTEInput node to the In terminal of the MQOutput node, as shown in the following figure:
      An FTEInput node connected through its Out terminal to an MQOutput node, and connected through its End of Data terminal to a second MQOutput node for record identification.
      The node connected to the End of Data terminal receives an empty message when the last record in the file is read.
  5. Optional: To process the file based on details of the transfer, place a node such as the Route node after the FTEInput node.
    Details of the transfer are stored in the local environment, at LocalEnvironment.FTE.
  6. Add the flow to a BAR file and deploy the BAR file.
  7. Optional: Change the coordination queue manager; see Preparing the environment for IBM MQ File Transfer Edition nodes.
    The queue manager for the integration node is the default coordination queue manager. The default might be adequate for testing; for production, consider changing it. A warning is written to the log if the coordination queue manager is not changed from the default.