You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,8 +86,9 @@ You do not need to download and build the source to use the SDK but if you want
86
86
87
87
h. "serverURL" config parameter will take precedence over sendToProduction and sendToAkamai config parameters. By default the "serverURL" configuration is commented out.
88
88
89
-
i. Set allowRetry config parameter to "true/false" to enable retry mechanism. By default, allowRetry is set to true.
90
-
Set integer values for config parameter numberOfRetries & retryInterval to configure the retry behavior. Refer to the "Retry Pattern" section below.
89
+
i. "allowRetry" config parameter will only work for HttpClient. Set allowRetry config parameter to "true" to enable retry mechanism and set merchant specific values for the retry.
90
+
Set integer values for config parameter numberOfRetries & retryInterval. Retry Interval is time delay for next retry in seconds. number of retry parameter should be set between
91
+
1 to 5 any other value will throw an Error Message. Refer to the "Retry Pattern" section below.
91
92
92
93
j. Please refer to the accompanying documentation for the other optional properties that you may wish to specify.
93
94
@@ -180,10 +181,12 @@ We have two ways to test, One is using maven tool and other is to download the z
180
181
181
182
##RETRY PATTERN
182
183
183
-
Retry Pattern Allows to retry sending a failed request. To Enable or disable retry mechanism set the allowRetry config parameter to "true or false".
184
-
By default, allowRetry is set to true. The system will retry the failed request multiple times as configured in the config parameter 'numberOfRetries'.
185
-
numberOfRetries (Number of retries) should be set between 1 to 3. By default numberOfRetries will be set to 1. User can set a delay in between the retry
186
-
attempts using the config parameter 'retryInterval'. The default value for this parameter is 10 which means a delay of 10 seconds between the retry attempts.
184
+
Retry Pattern Allows to retry sending a failed request and it will only work with useHttpClient=true, allowRetry flag enables the retry mechanism.
185
+
set the value of allowRetry parameter to "TRUE/FALSE". Then the system will retry the failed request as many times as configured by the merchant
186
+
in the config parameter 'numberOfRetries'.
187
+
188
+
numberOfRetries parameter value should be set between 0 to 5. By default the value for numberOfRetries will be 5. User can set a delay in between the retry attempts.
189
+
Config parameter for this property is 'retryInterval' in cybs.property file. The default value for 'retryInterval' parameter is 5 which means a delay of 5 seconds.
0 commit comments