This content has been marked as final.
Show 3 replies
-
1. Re: Setting transaction timeout for onMessage()?
weston.price Mar 19, 2007 11:38 AM (in response to johanwalles)This feature has been added here:
http://jira.jboss.com/jira/browse/JBAS-3321
It will appear in 4.2 -
2. Re: Setting transaction timeout for onMessage()?
weston.price Mar 19, 2007 11:41 AM (in response to johanwalles)Also, note that REQUIRES_NEW is not valid for an MDB deployment. Later versions of JBoss will not allow this.
http://jira.jboss.com/jira/browse/EJBTHREE-831 -
3. Re: Setting transaction timeout for onMessage()?
johanwalles Mar 20, 2007 3:59 AM (in response to johanwalles)Thanks Weston for the extremely quick and informative reply!
As a followup, I tried replacing REQUIRES_NEW with REQUIRED, but then my @TransactionTimeout() annotation is ignored.
So currently (meaning "JBossAS 4.0.5") it seems as if I'll have to settle for REQUIRES_NEW and having some (successfully processed) messages go to the DLQ.
If / when I upgrade JBoss I'll re-visit this.
Regards //Johan