wso2 / andes

Apache License 2.0
39 stars 128 forks source link

Fix product-ei/issues/1716 #956

Closed GDLMadushanka closed 6 years ago

GDLMadushanka commented 6 years ago

Purpose

Fix product-ei/issues/1716

Goals

Introduce health-check mechanism for connections taken from thrift connection pool

Approach

Connections taken from thrift connection pool could be expired. This fix introduce a health-check mechanism (bogus thrift call) to update the thrift connections, so that they will not be expired at the point of using to the intended purpose.

Security checks

Related PRs

https://github.com/wso2/andes/pull/955/

Test environment

JDK8, Ubuntu 16.04