uCosminexus Service Platform, Overview

[Contents][Glossary][Index][Back][Next]

2.14.11 Managing HTTP adapter timer

You can set the following timeout duration in HTTP adapter:

You can set each timeout value in HTTP adapter definition file. For details on HTTP adapter definition file, see "HTTP adapter definition file" in "Service Platform Reference Guide" .

Organization of this subsection
(1) Connection timeout
(2) Read timeout
(3) Exclusive management timeout

(1) Connection timeout

You can set connection timeout till connection with the server is established.

The following figure gives an overview of connection timeout:

Figure 2-95 Connection timeout

[Figure]

The following table describes the parameters you can set:

Table 2-46 Setting connection timeout

Value Key name Default value
Connection timeout (milliseconds) adphttp.protocol.connect-timeout 60000

(2) Read timeout

You can set read timeout after sending HTTP request till HTTP response is returned. Monitor timeout for each 1 time if HTTP response is returned by splitting into the number of times after HTTP request is sent.

The following figure gives an overview of read timeout:

Figure 2-96 Read timeout (if response in 1 time is returned)

[Figure]

Figure 2-97 Read timeout (if response split 3 times is returned)

[Figure]

The following table describes the parameters you can set:

Table 2-47 Setting read timeout

Value Key name Default value
Read timeout (milliseconds) adphttp.protocol.read-timeout 300000

(3) Exclusive management timeout

Common lock for the common folder is required to access the common folder from HTTP adapter. At this stage, you can specify lock retry frequency and lock retry interval in HTTP adapter.

The following table shows the parameters you can set:

Table 2-48 Setting read timeout

Value Key name Default value
Lock retry frequency (times) adphttp.file.read-lock.retry.count 0
Lock retry interval (seconds) adphttp.file.read-lock.retry.interval 1