Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with retry in JMS using JBOSS 5.0

 
Krishna Kumar Balachandran
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic