Hi,
 I have a class which writes to a JMS queue. There is a MDB which is listening 
on this queue for a message. Once the message is received, the MDB does some 
processing and returns back.

Problem is, if on some condition, on during processing the message, if the MDB 
goes into a infinite loop, because of which i stop and restart my server, on 
restarting the server the message is redelivered. This again results in the MDB 
going into a inifinite loop.

I dont want the message to be redelivered on server restart.
I have set the  attribute of the MDB to Bean managed and also set the 
acknowledgement mode to Auto-Acknowledge. Even then, i am facing this problem 
of redelivery. 

Is there any solution for this?

Thank you.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883837#3883837

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883837


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to