org.jcoderz.commons.connector
Interface ConnectorConfiguration
- All Superinterfaces:
- ServiceConfiguration
- All Known Implementing Classes:
- ConnectorConfigurationImpl
public interface ConnectorConfiguration
- extends ServiceConfiguration
The configuration ServiceConfiguration interface of the Connector.
- Author:
- generated
getSslKeyAlias
String getSslKeyAlias()
- Gets
The name of the key used for SSL connections
established by the http connector.
This key is stored in the keystore defined by the
Signature Service as is located in the table SIG_KEYSTORE.
.
- Returns:
- The name of the key used for SSL connections
established by the http connector.
This key is stored in the keystore defined by the
Signature Service as is located in the table SIG_KEYSTORE.
getSslKeyAliasPassword
String getSslKeyAliasPassword()
- Gets
The password of the key used for SSL connections
established by the connector.
See also configuration entry "sslKeyAlias".
.
- Returns:
- The password of the key used for SSL connections
established by the connector.
See also configuration entry "sslKeyAlias".
getAmountOfTriesForwardingRequest
int getAmountOfTriesForwardingRequest()
- Gets
The number of attempts the http connector performs to connect
the specified target system.
This value is valid for all connector retry settings.
If this value is changed it will be taken into account for new
connections (not pooled connections).
.
- Returns:
- The number of attempts the http connector performs to connect
the specified target system.
This value is valid for all connector retry settings.
If this value is changed it will be taken into account for new
connections (not pooled connections).
getConnectTimeoutInMilliSeconds
int getConnectTimeoutInMilliSeconds()
- Gets
The timeout for creating connections to target systems used by
the http connector in milliseconds.
If this value is changed it will be taken into account for new
connections (not pooled connections).
See also T-NR-P-104.
Check also readTimeoutInMilliSeconds if you
change this value.
.
- Returns:
- The timeout for creating connections to target systems used by
the http connector in milliseconds.
If this value is changed it will be taken into account for new
connections (not pooled connections).
See also T-NR-P-104.
Check also readTimeoutInMilliSeconds if you
change this value.
getReadTimeoutInMilliSeconds
int getReadTimeoutInMilliSeconds()
- Gets
The timeout for reading response messages from target systems used
by the http connector in milliseconds.
If this value is changed it will be taken into account for new
connections (not pooled connections).
See also T-NR-P-104.
Check also connectTimeoutInMilliSeconds if you change this value.
.
- Returns:
- The timeout for reading response messages from target systems used
by the http connector in milliseconds.
If this value is changed it will be taken into account for new
connections (not pooled connections).
See also T-NR-P-104.
Check also connectTimeoutInMilliSeconds if you change this value.
getConnectionErrorRetryDelayInMilliSeconds
int getConnectionErrorRetryDelayInMilliSeconds()
- Gets
The delay in milliseconds before retry getting managed connection
after a ResourceException whilst getConnection.
.
- Returns:
- The delay in milliseconds before retry getting managed connection
after a ResourceException whilst getConnection.
getHttpClientErrorResendDelayInMilliSeconds
int getHttpClientErrorResendDelayInMilliSeconds()
- Gets
The delay in milliseconds before resending request
after an http client error (4xx).
See also httpClientErrorResendFlag and
amountOfTriesForwardingRequest.
Keep in mind that the requesting (client) system also has a
timeout, waiting for the answer. The value for this timeout
currently defaults to 6 seconds.
If this value is changed it will be taken into account for new
connections (not pooled connections).
.
- Returns:
- The delay in milliseconds before resending request
after an http client error (4xx).
See also httpClientErrorResendFlag and
amountOfTriesForwardingRequest.
Keep in mind that the requesting (client) system also has a
timeout, waiting for the answer. The value for this timeout
currently defaults to 6 seconds.
If this value is changed it will be taken into account for new
connections (not pooled connections).
getHttpServerErrorResendDelayInMilliSeconds
int getHttpServerErrorResendDelayInMilliSeconds()
- Gets
The delay in milliseconds before resending request
after an http server error (5xx).
The delay is to give the target system the chance to recover from
an error situation.
See also httpServerErrorResendFlag and
amountOfTriesForwardingRequest.
Keep in mind that the requesting (client) system also has a
timeout, waiting for the answer. The value for this timeout
currently defaults to 6 seconds.
If this value is changed it will be taken into account for new
connections (not pooled connections).
.
- Returns:
- The delay in milliseconds before resending request
after an http server error (5xx).
The delay is to give the target system the chance to recover from
an error situation.
See also httpServerErrorResendFlag and
amountOfTriesForwardingRequest.
Keep in mind that the requesting (client) system also has a
timeout, waiting for the answer. The value for this timeout
currently defaults to 6 seconds.
If this value is changed it will be taken into account for new
connections (not pooled connections).
getHttpReadTimeoutErrorResendDelayInMilliSeconds
int getHttpReadTimeoutErrorResendDelayInMilliSeconds()
- Gets
The delay in milliseconds before resending request
after a timeout reading the response.
The delay is to give the target system the chance to recover from
an error situation.
See also httpReadTimeoutErrorResendFlag and
amountOfTriesForwardingRequest.
Keep in mind that the requesting (client) system also has a
timeout, waiting for the answer. The value for this timeout
currently defaults to 6 seconds.
If this value is changed it will be taken into account for new
connections (not pooled connections).
.
- Returns:
- The delay in milliseconds before resending request
after a timeout reading the response.
The delay is to give the target system the chance to recover from
an error situation.
See also httpReadTimeoutErrorResendFlag and
amountOfTriesForwardingRequest.
Keep in mind that the requesting (client) system also has a
timeout, waiting for the answer. The value for this timeout
currently defaults to 6 seconds.
If this value is changed it will be taken into account for new
connections (not pooled connections).
getHttpClientErrorResendFlag
boolean getHttpClientErrorResendFlag()
- Gets
Flag indicating resend of message after http client error (4xx).
See also httpClientErrorResendDelayInMilliSeconds and
amountOfTriesForwardingRequest.
If this value is changed it will be taken into account for new
connections (not pooled connections).
.
- Returns:
- Flag indicating resend of message after http client error (4xx).
See also httpClientErrorResendDelayInMilliSeconds and
amountOfTriesForwardingRequest.
If this value is changed it will be taken into account for new
connections (not pooled connections).
getHttpServerErrorResendFlag
boolean getHttpServerErrorResendFlag()
- Gets
Flag indicating resend of message after http server error (5xx).
See also httpServerErrorResendDelayInMilliSeconds and
amountOfTriesForwardingRequest.
If this value is changed it will be taken into account for new
connections (not pooled connections).
.
- Returns:
- Flag indicating resend of message after http server error (5xx).
See also httpServerErrorResendDelayInMilliSeconds and
amountOfTriesForwardingRequest.
If this value is changed it will be taken into account for new
connections (not pooled connections).
getHttpReadTimeoutErrorResendFlag
boolean getHttpReadTimeoutErrorResendFlag()
- Gets
Flag indicating resend of message after timeout reading
the response.
See also httpReadTimeoutErrorResendDelayInMilliSeconds and
amountOfTriesForwardingRequest.
If this value is changed it will be taken into account for new
connections (not pooled connections).
.
- Returns:
- Flag indicating resend of message after timeout reading
the response.
See also httpReadTimeoutErrorResendDelayInMilliSeconds and
amountOfTriesForwardingRequest.
If this value is changed it will be taken into account for new
connections (not pooled connections).
getFileTempDir
String getFileTempDir()
- Gets
The temporary-file directory to be used by the File System Connector.
.
- Returns:
- The temporary-file directory to be used by the File System Connector.
Copyright 2007 The jCoderZ Project.