aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes lost jms message recovery mechanism Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "lost jms message recovery mechanism" Watch "lost jms message recovery mechanism" New topic
Author

lost jms message recovery mechanism

joe nesbitt
Greenhorn

Joined: Dec 05, 2009
Posts: 17
Hi all,

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?

Any input is highly appreciated.

Thanks in advance.

Any input is highly appreciated.
ramprasad madathil
Ranch Hand

Joined: Jan 24, 2005
Posts: 489

Persistent Messages

cheers,
ram.
 
 
subject: lost jms message recovery mechanism