I have an EJB 3 MDB that listen on a queue. This MDB uses an EJB3 session bean. 
With some invalid parameters, session bean can send exception. In that case MDB 
will never be able to perform its job. In that case I'd like to log an error 
message and force the acknoledgmement of the message.

Problem is that the session bean has thrown an excpetion. consequently 
tranqsaction is rollbacked, then message is redelivered later.

If I invoke message.acknowledge() from the MDB, it looks that message is not 
acknoledge. 

How can I force a message to be acknoledge from a MDB ?

I've try to make the MDB transaction not supported but I still not able to 
acknowledge the message. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071231
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to