Closed DimaGolomozy closed 7 years ago
@jhalterman any thoughts?
@acogoluegnes and I don't think it's a good idea. It should not be necessary to force daemon threads if all resources are released correctly (as it is not necessary in the Java client, for example).
We should introduce a new property and keep the default instead of forcing this on everyone. Please look into a new PR and provide a way to reproduce the non-terminating JVM case.
The disabling automatic recovery for RabbitMQ Java client part was addressed in #82.
I've changed
NamedThreadFactory
to create daemon threads, so that the JVM won't hang if the executor is not shutdown state.automaticRecovery
flag in theConectionFactory