[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Peristent Message not redelivered even though MDB didnt

2005-10-05 Thread schrouf
It's the MDB container that handles all transactions for the MDB. The call to 
context.serRollbackOnly() within the MDB just sets a signal flag for the 
'surrounding' MDB container that actually triggers the rollback operation.

regards
ulf

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3899264


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Peristent Message not redelivered even though MDB didnt

2005-10-04 Thread upankar
Thanks. It works.. But could you please explain why it is needed to call 
setRollBackOnly() ? My application didnt start any transaction, so a roll-back 
was not necessary. Or, is it that JMS provider always invokes MDB onMessage() 
on a transactional context implicitely ?

Anyway.. Thanks again. Atleast, it is getting redelivered now as intended

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3899111


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Peristent Message not redelivered even though MDB didnt

2005-10-04 Thread schrouf
do you call context.setRollbackOnly() in case of a processing error ? this is 
the 'normal' way to force redelivery as acknowledgment is handled by the MDB 
container as part of the transaction handling.

regards
ulf

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3898898


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user