Mar 24th, 2008, 07:13 PM
Im new to spring and would like to know the easiest way to rollback messages using the DefaultMessageListenerContainer. My setup seems to be correct, and everything is working lovely. However, when an exception is throws I would like the message to be put back on the queue, and the listener to shut down. What is the easiest way to do this? should I somehow participate in a transaction?
Mar 24th, 2008, 07:42 PM
Nevermind, found it...it was easy as setting the sessionTransacted property to true on the listener...i love spring!