Configuring Java CAPS Project Components for Communication Adapters

Communication Control — TCP/IP HL7 V2 Inbound Adapter

The Communication Control section controls data transferring (sending/receiving) over the TCP/IP connection.

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

Table 75 Connectivity Map - Communication Control

Name 

Description 

Required Value 

Time To Wait For A Response

Specifies the amount of time (in milliseconds) that the adapter waits for a response from the external system before taking recourse action (see Action on No Response in the Table 76). Any data from the external system is considered a response.

This property corresponds to the initial read/receive operation timeout. Once a response is received, the following read/receive operation uses the SoTimeout specified timeout (see So Timeout in Table 64). Value 0 is interpreted as an infinite timeout.

An integer indicating the length of time in milliseconds that the adapter waits for a response to arrive from the external system. A value of 0 (zero) is interpreted as an infinite timeout.

The configured default is 30000 (30 seconds).

Max Empty Read Retry

Specifies the maximum number of times the adapter attempts to read data from the external system after the read/receive operation returns nothing. This applies to the read or receive operation after a response starts to arrive. Empty Read means that a timeout occurs on the read/receive operation, which takes the SoTimeout parameter in the TCPIP Server Base Settings section as the applied timeout setting (see So Timeout in Table 64). The corresponding recourse action is specified by the Action on Max Failed Read Retry in the Table 76.

A number indicating the maximum number or retries. 

The configured default is 5.

Max No Response

Specifies the maximum number of response timeouts the adapter allows, while waiting for data from the external system, before taking recourse action (see Action on Max No Response in the Table 76).

This parameter is used for the inbound Collaboration code. This parameter is only used by outbound adapters and works in conjunction with the Resend option of the Recourse Action parameter Action on No Response (see Action on No Response in the Table 76 table). It configures the adapter to resend the last message for the specified maximum number of times before the subsequent recourse action is taken.

An integer indicating the appropriate number of timeouts that may occur before taking recourse action. 

The configured default is 30.

Max NAK Receive Retry

Specifies the maximum number of negative acknowledgments the adapter receives before taking recourse action (see Action on Max Nak Received in the Table 76).

This parameter is used for the inbound Collaboration code. 

A number indicating the appropriate maximum number of NAKs received before taking recourse action. 

The default value is 30.

Max NAK Send Retry

Specifies the maximum number of negative acknowledgments the adapter sends before taking recourse action (see Action on Max Nak Sent in the Table 76).

This parameter is used for the inbound Collaboration code. 

An integer indicating the appropriate maximum number of NAKs sent by the adapter before recourse action is taken. 

The default value is 30.

Max Canned NAK Send Retry

Specifies the maximum number of canned negative acknowledgments that the adapter sends before taking recourse action (see Action on Max Nak Sent in the Table 76).

The appropriate maximum number of canned NAK to send before taking recourse action. 0 indicates that the adapter will not attempt to create or send a canned NAK.

The configured default is 3.

Enable Journaling

Specifies whether message journaling is enabled. 

This parameter is used for inbound Collaboration code. 

Select True or False.

True indicates that journaling is enabled.

The configured default is True.

Where to Go Next

HL7 Recourse Action — TCP/IP HL7 V2 Inbound Adapter.

Related Topics