Setting up a File-system target

A File-system target polls a directory according to a set interval to look for new documents.

The following steps describe what you need to specify for a file-system target.

  1. Click Hub Admin > Hub Configuration > Targets to display the Targets List page.
  2. From the Target List page, click Create Target.

Target Details

In the Target Details section, perform the following steps:

  1. Type a name for the target. For example, you might call the target FileTarget1. This is a required field. The name you enter here will be displayed on the Targets list.
  2. Optionally indicate the status of the target. Enabled is the default. A target that is enabled is ready to accept documents. A target that is disabled cannot accept documents.
  3. Optionally enter a description of the target.
  4. Select File Directory from the Transport list.

Target Configuration

In the Target Configuration section of the page, perform the following steps:

  1. Optionally indicate the gateway type. The gateway type defines the nature of the transmission. For example, if you want to test a document exchange before putting it into production, you would enter Test. The default is Production.
  2. Enter a value for Document Root Path to indicate the directory where the documents will be received.
  3. Optionally enter a value for Poll Interval, to indicate how often the directory should be polled for new documents. If you do not enter anything, the directory will be polled every 5 seconds.
  4. Optionally, enter a value for File Unchanged Interval to indicate the number of seconds the file size must remain unchanged before the Document Manager retrieves the document for processing. This unchanged interval period ensures that a document has completed its transmission (and is not still in transit) when the Document Manager retrieves it. The default value is 3 seconds.
  5. Optionally enter a value for Thread Nbr, to indicate the number of documents the Document Manager can process simultaneously. The default value of 1 is recommended.

Handlers

If you will be receiving files containing multiple EDI interchanges or XML or ROD documents that need to be split, configure the appropriate splitter handler in the Preprocess configuration point.

To modify the Preprocess configuration point, go to Modifying configuration points. Otherwise, click Save.

Copyright IBM Corp. 2003, 2005