I have Spring JMS/MDPs running in a standalone/non-J2EE enviornment listening to the queue that is deployed in a J2EE enviornment.
How does Spring handle the the following scenarios:
1) where in errors like java.lang.OutofMemory errors occur while processing the message from the queue. Will the message still exist on the queue?
2) Also what happens to the message in case there is an RuntimeException thorwn while processing it and at the same time for some reason the J2EE enviornment in which the queue is present has crashed... is there a way to put the message back on the queue or is the message lost?