Configuring Java CAPS Project Components for Communication Adapters

Record (BatchRecord Connectivity Map)

This section allows you to configure the Record parameters, to specify the record characteristics you want the adapter to recognize.

The Record section of the BatchRecord Connectivity Map properties contains the top-level parameters displayed in this table:

Table 11 Connectivity Map - BatchRecord - Record

Name 

Description 

Required Value 

Delimiter on Last Record

Allows you to supply the delimiter to be used with the final record. Use this parameter only when the Record Type is set to Delimited.

Some message formats insist that the final message in a record set has no trailing delimiter. However, in most cases, you can safely leave this parameter set to Yes.

Select Yes or No.

The configured default setting is Yes.

Record Delimiter

Specifies the delimiter to be used for records. Use this parameter when the Record Type is set to Delimited.

The value entered is interpreted as a sequence of one or more bytes. If there are multiple bytes in the delimiter, each must be separated by a comma. You can enter the delimiters in the following formats: 

  • ASCII Characters: The adapter supports all ASCII characters.Example: *,*,* (records separated by ***)Example: | (records separated by a |)

  • Escaped ASCII: The adapter supports \r, \n, \t, and \f.Example: \r,\n (records separated by CR NL)Example: \n (records separated by NL only)

  • Hex: The adapter supports 0x00 to 0x7EExample: \0x0D,\0x0A (records separated by CR NL)

  • Octal: The adapter supports 000 to 0177.Example: \015,\012 (same as \0x0D,\0x0A)


    Note –

    When using character delimiters with DBCS data, use single byte character, or equivalent hex values that do not coincide with either byte of the double byte characters. When using escaped ASCII, Hex, or Octal, the “\” character is required.


A valid character to use as data record delimiter. 

Record Size

Specifies a number indicating the record size (byte count). Use this parameter when the Record Type is set to Fixed, and a number indicating length must be supplied.

A number from 1 to 2,147,483,647 indicating the record size (byte count).

Record Type

Specifies the format of the records in the data payload in the Collaboration.

Each payload contains zero or more records. Using this and related parameters, you can pass records individually to another component within the Service Bus. Available options: 

  • Delimited: The records are separated by the delimiter specified under the Record Delimiter parameter.

  • Fixed: The records are all of a given size, specified by the Record Size parameter.

  • Single Record: If the payload is to be processed “as-is,” select this option.

  • User Defined: This option is not supported.

Select Delimited, Fixed, or Single Record.

The configured default is Delimited.

Where to Go Next

For information on BatchFTP Connectivity Map configuration, go to Configuring Batch Adapter BatchFTP Connectivity Map Properties.

More Information on Adapters