Configuring Java CAPS Project Components for Communication Adapters

General Inbound Settings — TCP/IP Adapter Inbound

The General Inbound Settings properties provide the dedicated session mode and maximum data size message settings for the server. This section contains the top-level parameters as displayed in the table.

Table 111 Connectivity Map - General Inbound Settings

Name 

Description 

Required Value 

Max Data Size

Allows you to define the maximum size of the data that the programs can hold internally. 

The valid range is from 1 to 2 GB (the maximum value of the Java integer). 

The configured default is 2147483647..

Scope Of State

Defines the scope of State object, which is an OTD node. The options for this parameter are: 

  • Resource Adapter Level: The State has the same life cycle as the resource adapter.

  • Persistence: The State is persisted in the storage media like file or DB (Persistence State File Location must be specified if this option is selected).

  • Connection Level: The State has the same life cycle as the connection.

  • OTD Level: The State has the same life cycle as the OTD object.

    This scope represents the life cycle of the State.

Select one of the following: 

  • Resource Adapter Level

  • Connection Level

  • OTD Level

The configured default is Resource Adapter Level.

Dedicated Session Mode

Allows you to enable or disable the adapter's Dedicated Session Mode. When the Dedicated Session Mode is enabled in a server, the current client’s request can exclusively hold the server port to which it connects. 

For example, if this property is enabled, and the client is connected to a server, it only serves the client until the work is completed, and the session is disconnected. If another client tries to connect to the server during this time, it cannot until the session is completed. 

Select True or False. True indicates that Dedicated Session Mode is enabled.

The configured default is False.

Where to Go Next

TCPIP Inbound Settings — TCP/IP Adapter Inbound.

Related Topics