• Andy Wilkinson's avatar
    Cope with hanging call to connection.start() in JmsHealthIndicator · 9e14fc6b
    Andy Wilkinson authored
    Previously, if the call to connection.start() hung, JmsHealthIndicator
    would also hang and then never respond.
    
    This commit introduces the use of an additional thread that waits for
    up to 5 seconds for the connection to start. If the call to start
    does not complete within that time, the connection is closed. The
    call to close causes the call to start to throw an exception, thereby
    stopping the hang and allowing the indicator to report that the
    broker is down.
    
    Closes gh-10809
    9e14fc6b
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
spring-boot-project Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-samples-invoker Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...