Configuration option | Description |
host | Required. The name of the host to connect to. Type: string. |
port | The port number to connect to. Type: integer. Default: 443 if the tls configuration option is true, otherwise 80. |
basePath | Optional path to be prefixed to the metadata.http.path for all messages sent to this transport. If you have multiple remote applications on a single host but with different base paths, you will need to create multiple transport instances with different basePath values. The metadata.http.path in responses will include the prefix, if any. Type: string. |
timeoutSecs | Client TCP timeout in seconds. Type: integer. Default: 120. |
tls | If true, TLS is used for the connection to the host. Type: bool. Default: false. |
tlsAcceptUnrecognizedCertificates | By default, connections to unrecognized certificates are terminated. Set this to true if non-validated server certificates are to be accepted. Type: bool. Default: false. |
tlsCertificateAuthorityFile | By default, server certifications signed by all standard Certificate Authorities are validated. Optionally, you can set this option to provide a path to a CA certificate file in PEM format to authenticate the host with. Type: string. |
followRedirects | By default, a response event with the status code is forwarded to EPL, which then has to handle the redirect. Set this to true if HTTP redirects are to be followed transparently to the new URL. This pertains to responses with status codes for permanent redirections (301 and 308) and temporary redirections (302, 303 and 307). In some cases, following a redirect will result in the server responding with one or more further redirects. To prevent redirect loops, the total number of automatic redirects is limited. An error status code (400) will be sent to the EPL application when the limit has been reached. For security reasons, redirects to a different host or to a different protocol (for example, from HTTP to HTTPS) are not followed. Type: bool. Default: false. Note: For backwards compatibility, followRedirects is set to false by default when it is not explicitly specified in the YAML configuration file. However, for your convenience, when you add a new HTTP Client connectivity bundle in Software AG Designer or by using the apama_project tool, this option is already set to true in the resulting YAML configuration file. |
cookieJar | By default, cookies received from the server need to be handled by EPL. Set this to true if cookies are to be stored in memory and added to subsequent outgoing requests. For more information, see Dealing with cookies. Type: bool. Default: false. Note: For backwards compatibility, cookieJar is set to false by default when it is not explicitly specified in the YAML configuration file. However, for your convenience, when you add a new HTTP Client connectivity bundle in Software AG Designer or by using the apama_project tool, this option is already set to true in the resulting YAML configuration file. |
authentication/authenticationType | Set this to HTTP_BASIC if you want to authenticate using HTTP basic authentication. Type: HTTP_BASIC or none. Default: none. |
authentication/username | Optional user name for HTTP basic authentication. Type: string. |
authentication/password | Optional password for HTTP basic authentication. Type: string. Important: If you provide the password for HTTP_BASIC authentication via the configuration file, you must ensure to protect the configuration file against any unauthorized access, since the password will be readable in plain text. To avoid this, you can provide the password via a replacement variable from EPL (see also Configuring dynamic connections to services). |