According to the Javadoc for the JMS MessageConsumer interface…
It is a client programming error for a
MessageListenerto throw an exception.
Now, what if you’re processing a JMS message asynchronously using a MessageListener and something goes wrong? What is an honest MessageListener to do?
Looking at the Spring documentation, it looks like there are answers for this kind of thing… It just hasn’t sunk in for me what they are yet.