I'm calling a third-party HTTP service from a task that sometimes takes more than 60s to respond. Since the URLFetchService has a hard limit of 60s, I thought I might be able to work around this with the Socket API - there do not appear to be any documented time limits other than the 2m idle.
I wired in the Apache HttpClient... and I'm still getting an exception at 60s, even though I explicitly set the timeout to 118s:
Question #1: Is there a limit missing from the documentation?
Question #2: Will I have any success with the NIO version of httpclient? I'm guessing not.
Question #3: Any suggestions for ways to work around this? It's part of an already-too-complicated multistep cascade of transactional task operations. This will be very hard to split up in any reasonable way.
Thanks,
Jeff