Using the Sun HL7 JCA Adapter

HL7 Outbound Settings — Client Connection Establishment

The Client Connection Establishments settings control the connection when the Connection Type is Client.

Time To Wait Before Attempting Connection

Specifies the length of time (in milliseconds) that the adapter waits before attempting to connect to the external system. The default is 0 (milliseconds); in other words, no wait time.

Always Create New Connection

Specifies whether the eWay always attempts to create a new connection when a connection establishment request is received.

The choices are:

  • True: Attempts to create a new connection without attempting to match an existing connection.

  • False: Attempts to match an existing connection managed by the container.

The default setting is false.

Auto Reconnect Upon Matching Failure

Specifies whether to attempt to reconnect automatically when the adapter gets a matching connection from a container, even though this connection might not be valid for various reasons (for example, the external side of the connection is closed/reset due to the external application's logic).

The choices are:

  • True: The adapter discards the invalid matching connection and automatically attempts to reconnect using a new connection.

    Specifies that the eWay discards the invalid matching connection and automatically attempts to reconnect using a new connection.

  • False: The adapter does not automatically attempt to reconnect using a new connection: instead, it defers the reconnect control to the user business rules. The user must detect this type of failure and act appropriately

Max Connection Retry

Specifies the maximum number of attempts at making a connection with the external HL7 server (host/port) before giving up. The configured default is 3.

Retry Connection Interval

Specifies the number of milliseconds to wait between attempts to connect to the external HL7 server (host/port). The default is 30000; in other words, 30 seconds