I am using jboss-3.2.1 and to deploying message driven bean. It is working fine if I MDB don't throw any error. I am getting the following error when an exception is throw in MDB.
14:25:17,171 WARN [DLQHandler] Message resent too many times; sending it to DLQ; message id=ID:6-11068538999531
I read jboss documentation and unable to figure out the problem. Jboss sending message 10 times if MDB throws an exception and finally getting the above warning. By default jboss sends message 10 times if MDB throws an exeption. I tried to control this but not working. In standardjboss.xml file I used MaxTimesRedelivered = 1 (i.e I want to send message only once if there is any error in MDB). I don't want to send message 10 times if there is any error in MDB. Please can any one help me?