File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: lost jms message recovery mechanism
 
Similar Threads
How to capture java.lang.Error in log files
Handling poision messages in error queue
jboss ejb+jms redelivery time
WAS-6.1: SIBus: Topic to Queue Bridging
JMS message issue