Inbound File Pollers

The inbound File poller enables a trading host to monitor directories for documents placed on its local file system by a trading partner. To use BusinessConnect Container Edition with an inbound File poller, you have to perform two basic steps, which are described in the following sections:

  • Enabling and Configuring an Inbound File Poller
  • Selecting File Inbound in the Business Agreement
Note: Directories for Inbound and Outbound File pollers should not be the same ones that are used for storing large, shared, or local files.
Note: By default, the Inbound File poller picks up the existing files when the Poller Server engine starts up.

Enabling and Configuring an Inbound File Poller

  1. To enable and configure an inbound File poller on the BusinessConnect Container Edition server, perform the following steps:
  2. On the Admin UI, expand System Settings > Transport Protocols > Inbound Protocols.
  3. On the Inbound page, select the checkbox next to the File transport, and click Save.
  4. Click Configure Service and enter the fields as explained in the following table:
FILE Inbound Service Configurations
Field Description
Enable Select the checkbox to enable the transport.
Monitor Directory Specify the directory to be monitored by the File Poller.

This directory must start with '/' or '\' or '//' or '[a-zA-Z]:' and must end with '/' or '\'.

Example: C:\tibco\bcce\1.0\monitorFiles\file.txt

Delete Files after Processing Select this checkbox to delete the files after processing.

By default, this checkbox is selected.

Polling Interval (secs) Specify a period in seconds.

The Poller monitors the specified location for the new and updated files.

The default value is 300 seconds.

Directory to Place Error Files Specify a directory where the error files are saved. This directory must start with '/' or '\' or '//' or '[a-zA-Z]:' and must end with '/' or '\'.

Note: When you import a.csx file from TIBCO BusinessConnect to TIBCO BusinessConnect Container Edition, the inbound file polling Monitor Directory field and Directory to Place Error Files field do not reflect. You are required to manually configure the file path after importing the configuration.

Selecting File Inbound in the Business Agreement

This option is used to allow a particular business agreement to receive messages if the option is not enabled, then the host is not able to receive any messages over the File transport from the partner with whom he has this business agreement.

  1. On the TIBCO BusinessConnect Container Edition UI, expand Partner Management > Business Agreements.
  2. Click the business agreement for which you wish to select File transport.
  3. On the Protocols tab, select the protocol you wish to configure and click Edit Configurations.
  4. On the Transport tab, in the Inbound transport for Partner section, select the File transport.