mirror of https://github.com/apache/activemq.git
AMQ-6949: SocketTimeoutException when using HTTP transport connector
A default socket timeout of 30 secods for the HTTP client was introduced with the following ticket: https://issues.apache.org/jira/browse/AMQ-6397 This timeout somewhow seems to conflict with the keep alive requests that stays open for arround 30 seconds. I increased the default timeout to 90 seconds and this seems to resolve the problem.
This commit is contained in:
parent
d0fd46efcd
commit
ea0bcc12f7
|
@ -72,7 +72,7 @@ import org.slf4j.LoggerFactory;
|
|||
*/
|
||||
public class HttpClientTransport extends HttpTransportSupport {
|
||||
|
||||
public static final int MAX_CLIENT_TIMEOUT = 30000;
|
||||
public static final int MAX_CLIENT_TIMEOUT = 90000;
|
||||
private static final Logger LOG = LoggerFactory.getLogger(HttpClientTransport.class);
|
||||
private static final IdGenerator CLIENT_ID_GENERATOR = new IdGenerator();
|
||||
|
||||
|
|
Loading…
Reference in New Issue