Configuring Java CAPS Project Components for Communication Adapters

TCPIP Inbound Settings - Inbound Connection Management — TCP/IP HL7 V2 Inbound Adapter

The TCPIP Inbound Settings - Inbound Connection Management section defines the parameters used for inbound Server Connection Management. For example, the connection pool and the life cycle of the accepted connection.

This section of the TCP/IP HL7 V2 inbound adapter Connectivity Map properties contains the top-level parameters displayed in this table:

Table 67 Connectivity Map - TCPIP Inbound Settings - Inbound Connection Management

Name 

Description 

Required Value 

Max Connection Pool Size

Specifies the maximum number of concurrent connections allowed for the specific listener/monitor which is listening on, or monitoring a specified TCP/IP port. This represents the capability or availability of this server’s services. Each connect-request from a client gains one concurrent connection. This parameter also represents the maximum number of clients who can concurrently connect to this server’s services, and get served by the specific listener/monitor at the same time. 

A number indicating the maximum number of concurrent connections available from a listener/monitor for a specific TCP/IP port. 0 indicates that there is no limit.

The configured default is 50.

Scope Of Connection

Specifies the scope of the accepted connection which is used by the adapter. The two options are: 

  • Resource Adapter Level: The resource adapter will close the connection upon closure request (by way of ClosureCommandMessage), so the connection may “keep alive” during multiple executions of the Collaboration.

  • Collaboration Level: The connection is closed once the Collaboration has been executed, so the connection has the same life cycle as the Collaboration.

Select Resource Adapter Level or Collaboration Level.

The configured default value is Resource Adapter Level.

Close Notification

Specifies the close notification value. When the server receives a notification with content that matches this parameter’s value, the server safely closes the connection and cancels any corresponding schedules. 

A String indicating the trigger value that notifies the server to close the connection. 

The configured default is QUIT.

Idle Timeout

Specifies the length of time (in milliseconds) for inactivity of the requestor (client). The adapter attempts to detect activity on client side (the other side of the connection). If no client activity (no i/o request comes over the connection from the client) for a specified time period, then the connection is closed from the server side to release the resource. The value is in milliseconds. If you want to disable this IdleTimeout checking, just specify 0 for this parameter. 

An integer that indicates the length of time in milliseconds. A value of 0 disables IdleTimeout.

The configured default is 60000.

Where to Go Next

TCPIP Inbound Schedules - Listener Schedule — TCP/IP HL7 V2 Inbound Adapter.

Related Topics