Nate Klein created AMQ-6397:
-------------------------------

             Summary: Configure HTTP timeouts in HttpClientTransport for 
receive in addition to send
                 Key: AMQ-6397
                 URL: https://issues.apache.org/jira/browse/AMQ-6397
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Transport
    Affects Versions: 5.14.0, 5.11.0
            Reporter: Nate Klein


We've experienced a situation where when creating a connection, the thread is 
stuck in a socket read during the HTTP HEAD call to the broker from 
HttpClientTransport:

{code}
httpClient.execute(httpMethod, new BasicResponseHandler());
{code}

After reading through the usage of HttpClient, it looks as though soTimeout is 
only set on the sent HttpClient instances, not the receive.  This patch adds 
the timeout to both.  




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to