This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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.
 
GeeCON Prague 2014
 
subject: Problem with retry in JMS using JBOSS 5.0