+

Search Tips   |   Advanced Search

The <connectionPolicy> element of the Cast Iron adapter

Structure of the <connectionPolicy> element

The <connectionPolicy> element has the following structure:

<connectionPolicy xsi:type="http:HTTPConnectionPolicyType"
  <protocol> protocol</protocol>
  <domain> host-name</domain>
  <port> host-port</port>
  <tcpConnectionTimeout>connection_timeout</tcpConnectionTimeout>
  <tcpSocketTimeout>socket_timeout</tcpSocketTimeout>
</connectionPolicy>

The <connectionPolicy> element has the following attributes:

Attribute Mandatory/Optional Description
xsi:type Mandatory Set the value of this attribute to http:HTTPConnectionPolicyType.

The <connectionPolicy> element has the following subelements:

Subelement Mandatory/Optional Description
protocol Optional URL protocol to use. Possible values are http (default) and https.
domain Mandatory The host address.
port Optional The port address. Default is 80.
tcpConnectionTimeout Optional.

Possible values:

  • The default is 15 seconds.

  • Use -1 to specify an unlimited time.

tcpSocketTimeout Optional The maximum period of inactivity between two consecutive TCP packets after a connection has been made.

Possible values:

  • The default is 60 seconds.

  • Use -1 to specify an unlimited time.


Parent topic: The adapter XML File