NHA-ABDM / ABDM-wrapper

Apache License 2.0
19 stars 15 forks source link

Added retry mechanism for create session. #129

Closed atulai-sg closed 5 months ago

atulai-sg commented 5 months ago

When Gateway does not respond to create session request, the thread is suspended for more than 15 minutes and even after that wrapper receives a WebClientRequestException.

Added a Retry mechanism to handle this scenario. Also, added connection timeout and response timeout to webclient configuration.

These two intervals are configurable.