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
- Second entry should be for `CyberSource_SJC_US` certificate with alias name as CyberSource_SJC_US
158
158
159
159
## PoolingHttpClient
160
-
To get more information please refer wiki.
160
+
PoolingHttpClient is built using the apache's PoolingHttpClientConnectionManager class. It comes with retry functionality which is very much needed in case if
161
+
SDK receives an I/O error/exception, when executing a request over a connection that has been closed at the server side. However there might be some cases when
162
+
transaction has reached server and similar or some other exception has occurred. It is not recommended to retry on non-idempotent methods, so we are considering
163
+
`merchantTransactionIdentifier` as idempotent key. Hence if you want to use PoolingHttpClient, merchantTransactionIdentifier field is mandatory in the payload(nvp or xml).
164
+
165
+
166
+
To get more information related to connection pooling please refer wiki.
161
167
162
168
## Message Level Encryption
163
169
CyberSource supports Message Level Encryption (MLE) for Simple Order API. Message level encryption conforms to the SOAP Security 1.0 specification published by the OASIS standards group.
Copy file name to clipboardExpand all lines: zip/README
+18-12Lines changed: 18 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -148,15 +148,13 @@ try {
148
148
e.getInnerException().printStackTrace();
149
149
}
150
150
151
-
##PoolingHttpClientShutdown
152
-
In case of PoolingHttpClient Connection, we need to close the connection manager, http client and idle connection cleaner thread when application got shutdown abruptly or gracefully.
153
-
If "enabledShutdownHook" is true, then JVM runtime addShutdownHook method will be initialized.
154
-
Shutdown Hooks are a special construct that allows developers to plug in a piece of code to be executed when the JVM is shutting down. This comes in handy in cases where we need to do special clean up operations in case the VM is shutting down.
createShutdownHookThread will call static shutdown api to close connectionManager, httpClient and IdleCleanerThread.
151
+
##PoolingHttpClient
152
+
PoolingHttpClient is built using the apache's PoolingHttpClientConnectionManager class. It comes with retry functionality which is very much needed in case if SDK receives
153
+
an I/O error/exception, when executing a request over a connection that has been closed at the server side. However there might be some cases when transaction has reached
154
+
server and similar or some other exception has occurred. It is not recommended to retry on non-idempotent methods, so we are considering `merchantTransactionIdentifier` as
155
+
idempotent key. Hence if you want to use PoolingHttpClient, merchantTransactionIdentifier field is mandatory in the payload(nvp or xml).
159
156
157
+
To get more information related to connection pooling please refer wiki.
0 commit comments