Configuring Java CAPS Project Components for Communication Adapters

Communication Control — TCP/IP HL7 V2 Outbound Adapter

Controls data transferring (sending/receiving) over TCP/IP connection.

This section of the TCP/IP HL7 V2 outbound adapter Connectivity Map properties contains the top-level parameters displayed in following table.

Table 86 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 87). 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 subsequent read/receive operation uses the SoTimeout specified timeout (see So Timeout in the Table 78).

An integer indicating the length of time in milliseconds that the adapter waits for a response 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 the Table 78).

The corresponding recourse action is specified by the Action on Max Failed Read Retry in the Table 87 .

An integer 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. 

This parameter is only used by outbound adapters (outbound Collaboration code) and works in conjunction with the Resend option of the Recourse Action parameter Action on Max No Response in the Table 87. 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 default value is 5.

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 87 ).

This parameter is used for outbound Collaboration code. 

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

The default value is 5.

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 87).

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

The default value is 5.

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 87 ).

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 default value is 3.

Enable Journaling

Specifies whether message journaling is enabled. 

This parameter is used for outbound Collaboration code. 

Select True or False.

True indicates that journaling is enabled.

The default value is False.

Where to Go Next

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

Related Topics