On 11 Sep, Jason Dillon wrote:
> Should setRollbackOnly on an MDB with NotSupported simply be ignored rather
> than throwing an exception?
> 
> If not, then an MDB would have to be written to handle exceptions for these
> cases when it is configured to be Requires or NotSupported... which seems
> like a bad idea.

I am inclined to agree, and maybe I have intepreted the spec wrong. The
behaviour now is from section 15.15.1 (at least in the spec I read now),
where it is said that it has to throw IllegalState if these methods are
invoked under BMT or when bean is "not associated with a transaction" or
does not have a "meaningfull transaction context".

Question is: is it possible to inteprete NotSupported as a "meaningfull
transactional context"

//Peter
> 
> --jason
> 
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development

-- 
------------------------------------------------------------
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-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to