File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Problem with retry in JMS using JBOSS 5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Problem with retry in JMS using JBOSS 5.0" Watch "Problem with retry in JMS using JBOSS 5.0" New topic
Author

Problem with retry in JMS using JBOSS 5.0

Krishna Kumar Balachandran
Greenhorn

Joined: May 07, 2012
Posts: 2
Hi,



I have a problem in my application. When a messaged is being processed and before the response in sent if my server is shutdown, then on restart the message is processed again. I find this behaviour unique only to JBoss. In other application servers if the message is read once, it gets deleted fro queue, after some research I found that in JBoss case, only after a response is sent, it deletes the message from queue. I want to change this behaviour please help me out.
Krishna Kumar Balachandran
Greenhorn

Joined: May 07, 2012
Posts: 2
Hi all,



Did I omit something in my description or the information I provided is not sufficient for the case? In our application we are using MDB's with EJB 2.0. We tried to set acknowledgement mode to CLIENT_ACK but we came to know that only AUTO_ACK and DUPS_OK are the only supported modes if we use MDB.



Thanks for your help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with retry in JMS using JBOSS 5.0