Hi All

The HttpAsyncRequestExecutor.timeout() method triggers a failed(new SocketTimeoutException()) on the FutureCallback while the RouteSpecificPool.timeout() also triggers the same.

Hence from within the FutureCallback we cannot distinguish if the cause is a Connection timeout or a Socket timeout. Should we change the RouteSpecificPool.timeout() to trigger a failed(new java.net.ConnectException()) instead?

thanks
asankha

--
Asankha C. Perera
AdroitLogic, http://adroitlogic.org

http://esbmagic.blogspot.com




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to