I am using a @JmsListener
annotated method listen to JMS messages as shown below.
@JmsListener(destination="exampleQueue")
public void fetch(@Payload String message){
process(message);
}
When this method execution result in an exception, I got a warn log
Execution of JMS message listener failed, and no ErrorHandler has been set.
How do I set an ErrorHandler
to handle the case. I am using spring boot 1.3.3.RELEASE