Simon Lindhén opened SPR-16928 and commented
When using AbstractJmsListeningContainer#runningAllowed to disable a listener it hangs on lifecycleMonitor.wait()
in DefaultMessageListenerContainer.AsyncMessageListenerInvoker.executeOngoingLoop()
and never wakes up. This means that runningAllowed()
will never be called again so the listener can't be re-enabled.
Affects: 5.0.6
Comment From: snicoll
I am afraid that there isn't enough information for us to investigate this, perhaps this comment helps clarifying how the flag should be used. If you can share a sample that showcases how you're customizing the container's runningAllowed
method, we can reconsider.