Setting up the File Output sample

To set up the sample, complete the following tasks:

  1. Import and deploy the sample. This action adds the following directories to the workspace:
  2. Ensure that your default integration node has been created and is running.
  3. Set the MQSI_FILENODES_ROOT_DIRECTORY environment variable to specify the root directory that is used by the FileOutput node.
    1. Follow the instructions at Setting up a command environment to create a command environment and a command file that contains the following line (ensuring that there is no white space around the equal (=) sign):
      • On Windows:
        SET MQSI_FILENODES_ROOT_DIRECTORY=c:\MQSIFileSamples\FileOutput
      • On Linux:
        export MQSI_FILENODES_ROOT_DIRECTORY="/tmp/MQSIFileSamples/FileOutput"
      You can replace c:\MQSIFileSamples\FileOutput or "/tmp/MQSIFileSamples/FileOutput" with the path to the directory of your choice.
    2. Stop and restart your integration node. See Starting and stopping a broker.

You can now run the sample, see Running the File Output sample.

Back to sample home