jbonofre opened a new issue, #1739:
URL: https://github.com/apache/activemq/issues/1739

   This is related to https://issues.apache.org/jira/browse/AMQ-6763.
   
   By default, `FutureResponse.getResult()` calls `ArrayBlockingQueue.take()` 
which blocks indefinitely. 
   
   When the broker becomes unreachable without the TCP connection being 
properly closed (network partition, half-open connection), threads calling 
`ResponseCorrelator.request(Object)` hang forever — as shown in the thread dump 
on the Jira.
   
   I propose to expose a way for the user to define a timeout, something like ` 
-Dorg.apache.activemq.transport.ResponseCorrelator.maxResponseTimeout=30000`. I 
wonder if we should not define this timeout by default.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to