Configuring Java CAPS Project Components for Communication Adapters

Configuring File Adapter Outbound Connectivity Map Properties

The Outbound File Adapter configuration properties, accessed from the Connectivity Map, are organized into the following section:

Parameter Settings

The Parameter Settings section of the outbound File Adapter Connectivity Map properties contains the top level parameters displayed in this table:

Table 51 Outbound File Adapter Connectivity Map Properties - Parameter Settings

Name 

Description 

Required Value 

Output file name

Specifies the file mask for output data files.

An appropriate file name. The default is output%d.dat. The %d in the file name is a counter and increments for each new file.

Instead of %d, you can use any other printf style that takes an integer or long value. For example, you can specify 1%d or %012d

In cases where the Multiple records per file property is set to False:

  • If no output file exists at the time of the first execution, a new output file is created for each record.

  • If an output file already exists at the time of the first execution, messages are appended to it.


    Note –

    For more information regarding the printf feature, see the appropriate C language documentation.


Add EOL

Specifies whether the system adds an end-of-line character to each record the adapter sends to the output file. 

Select True or False.

  • True: Indicates that the system will add an EOL to each record.

  • False: Indicates otherwise.

    The configured default is False.

Multiple records per file

Specifies whether multiple records (messages) can be written to the output file. New messages are appended to the output file. 

Select True or False.

  • True: Indicates that the output file will contain multiple records (messages).

  • False: Indicates that each output file contains a single record (message).

    The configured default is True.

Encoding

Specifies the valid encoding names. For all valid encodings, please refer to the following site: http://java.sun.com/j2se/1.3/docs/api/java/lang/package-summary.html

The encoding names. 

Where to Go Next

Configuring IMS Adapter Connectivity Map Properties.

Related Topics