Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Could not change message selector at runtime [SPR-14604] #19173
This can be surprising if a user stop the container, modify its state and then start it again.
Shutdown is pretty agressive (if you have an embedded activemq broker, it even completely stops the broker). For some reason the listener container does not seem to be able to reconnect to the broker after that.
There is a very good sample showcasing all this here