Configuring Java CAPS Environment Components for Communications Adapters

Configuring File Adapter Environment Properties

The File Adapter configuration parameters, accessed from the Environment Explorer, are organized into the following sections:

Inbound File Adapter - Parameter Settings

The Inbound File Adapter - Parameter Settings section of the File Adapter Environment properties contains the top level parameters displayed in the following table.

Table 22 File Adapter Environment Properties - Inbound File Adapter - Parameter Settings

Name 

Description 

Required Value 

Directory

Specifies the folder or directory that the Adapter polls for input files. 

A folder or directory name. You must use the absolute path; specify paths using the (forward) / slash mark. 

The configured default is C:/temp.

Inbound File Adapter - MDB Settings

The Inbound File Adapter - MDB Settings section of the File Adapter Environment properties contains the top level parameters displayed in the following table.

Table 23 File Adapter Environment Properties - Inbound File Adapter - MDB Settings

Name 

Description 

Required Value 

Max Pool Size

Specifies the maximum number of Message Driven Beans instantiated at any one point for message handling. 

The polling interval and the MDB pool size (Max Pool Size) can be “tuned” based on the expected volume and frequency of incoming messages. A more frequent polling interval, due to a large number of new messages, will trigger the creation of new threads. The number of threads that can be processed, however, is limited by the MDB pool size. 

When the maximum MDB pool limit is reached, incoming threads are blocked. Increasing the MDB pool size allows more resource adapter threads to send data to the Collaboration. In most cases, the default MDB pool size of 1000 is sufficient. 

An integer indicating the maximum MDB pool size. 

The default configuration is 1000.

Outbound File Adapter - Parameter Settings

The Outbound File Adapter - Parameter Settings section of the File Adapter Environment properties contains the top level parameters displayed in the following table.

Table 24 File Adapter Environment Properties - Outbound File Adapter - Parameter Settings

Name 

Description 

Required Value 

Directory

Specifies the directory to which output files are written. 

The absolute path and directory name.