You must set a directory to read or write a file to when you configure a FileInput or FileOutput node. In the nodes you can either set an absolute path or set a relative path. If you set a relative path, you must use the environment variable MQSI_FILENODES_ROOT_DIRECTORY to set the directory root.
The root directory that is used in this sample is :
Two message flows are used in this sample. Within each message flow, the FileInput and FileOutput nodes have different relative paths set:
FileBatchProcessingSample_Branch message flow:
FileInput node FILE_BRANCH :
Set the Input Directory property to relative path branch_out
FileOutput node FILE_HOFFICE:
Set the Directory property to relative path hoffice_in
FileBatchProcessingSample_HOffice message flow:
To set up the Batch Processing sample:
c:\MQSIFileInput\branch_out
c:\MQSIFileInput\hoffice_in
c:\MQSIFileInput\hoffice_out
On Linux:
mqsistop MB7BROKER
mqsistart MB7BROKER
source /opt/ibm/mqsi/7.0/bin/mqsiprofile
export MQSI_FILENODES_ROOT_DIRECTORY="/tmp/MQSIFileInput"
mqsistart MB7BROKER
Reading
On Windows: c:\MQSIFileInput
On Linux: /tmp/MQSIFileInput
0 comments:
Post a Comment