Hi,
yes in principal it work, buty I have to admit I have not tested with
setRollback only, but throwing an EJBException roll the transaction back.
But basically all ways you are allowed to use to mark the current
transaction for rollback should work.
On Thu, 29 Mar 2001, Todd Huss wrote:
> I'm using MessageDrivenBeans in JBoss with the transaction attribute
> required. I know that in Weblogic, when using container managed
> transactions with MDB's the receipt of the message is considered part of
> the transaction so that a ctx.setRollbackOnly() will be as if the message
> hasn't been delivered yet and was wondering if it's the same in Jboss?
>
> Thanks to whomever did the work to add MDB's to JBoss, it's greatly
> simplified the code I have to handle asynchronous processing.
Thank yo ;-)
//Peter
>
> -Todd
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
Jobba hos oss: http://www.tim.se/weblab
------------------------------------------------------------
Peter Antman Technology in Media, Box 34105 100 26 Stockholm
Systems Architect WWW: http://www.tim.se
Email: [EMAIL PROTECTED] WWW: http://www.backsource.org
Phone: +46-(0)8-506 381 11 Mobile: 070-675 3942
------------------------------------------------------------
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user