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 IBM App Connect Enterprise. 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 IBM App Connect Enterprise if you want to use the capabilities that are provided by the FTEInput node.
  3. Create the system queues that will store the file transfer information. For more information about creating the system queues, see Creating the default system queues on an IBM MQ queue manager.

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 App Connect Enterprise Toolkit.

Procedure

  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.