Configuration

The Configuration tab has the following fields.

Field

Global Var?

Description

Name

No

The name to appear as the label for the activity in the process definition.

Description

No

Short description of the activity.

Type

No

Type of data to be read. This can be either Text or Binary. When Text is specified, the Separator, User Defined Separator, and Encoding fields appear. When Binary is specified, the Bytes to Read field appears.

Separator

Yes

The type of separator. This activity reads data from the TCP connection until the separator or the end of the data stream is encountered.

User Defined Separator

Yes

When User-defined separator is chosen from the list in the Separator field, this field appears. This field specifies the separator character to use.

When Binary is selected in the Type field, a user-defined separator can be a string representation of a single byte value or it can be comma-separated byte values (for example, 0x0a, 0x0b, 0x0c). For valid string representations of byte values, refer to the Java documentation for the decode(String n) method of java.lang.Byte.

Encoding

Yes

When text data is specified, this field determines the character encoding of the text data.

Bytes to Read

Yes

When binary data is specified, this field specifies the number of bytes that should be read by this activity. If this field is left blank, then the activity reads until the end of the data stream is encountered.

Timeout

Yes

The time to wait (in milliseconds) for this activity to complete.