Configuring Java CAPS Project Components for Communication Adapters

Connectivity Map Outbound Adapter Connection Establishment

The Outbound Adapter Connection Establishment properties are included in the table.

Table 9 Outbound Adapter—Connection Establishment

Name 

Description 

Required Value 

Connection Mode

Specifies how or when a connection will become available. Options are: 

  • Automatic: The adapter will establish a SNA conversation automatically.

  • Manual: The SNA conversation will become available to you only when you manually call the OTD function startConversation() from the Collaboration; the conversation will become unavailable when you call the OTD function endConversation().


    Note –

    The OTD functions startConversation() and endConversation() are expected for Manual mode only. Automatic mode does not allow you to call them explicitly.


Select Automatic or Manual.

The default is Automatic.

Max Connection Retry

Specifies the maximum number of retries to establish a connection upon failure to acquire one. 

A valid numeric value. 

The default is 3.

Retry Connection Interval

Specifies the milliseconds of pause before each attempt to reaccess the SNA LU62 destination. This setting is used in conjunction with the Max Connection Retry setting. 

For example, In the event that the adapter cannot connect to the SNA destination, the adapter will try to reconnect three times in 30 second intervals when the Connection Retries value is 3 and the Connection Retry Interval is 30000. 

A valid numeric value. 

The default is 30000.

Always Create New Connection

Specifies whether to ALWAYS attempt to create a new connection for a connection establishment request. Options are: 

  • True: The adapter will always attempt to create a new connection without trying to match connection.

  • False: The adapter will attempt to match an existing connection.

Select True or False.

The default is False.

Auto Reconnect Upon Matching Failure

Specifies whether or not to make an attempt to re-connect automatically after getting a matched connection from a container. Options are: 

  • True: The adapter will discard the invalid matched connection and will attempt to establish another connection automatically.

  • False: The adapter will not attempt to establish a new connection automatically. Instead, control will be deferred to your business rules which will detect this type of failure and perform the desired operations accordingly.

Select True or False.

The default is True.

Auto Disconnect Connection

Specifies whether the adapter disconnects automatically after the work on the connection is completed. Options are: 

  • True: The adapter connection will be disconnected and it will not be re-used.

  • False: The connection will be left for reuse.

Select True or False.

The default is False.

Where to Go Next

To choose the Adapter type that you want to configure, go toConfiguring Java CAPS Project Components for Communication Adapters.

Related Topics