This content has been marked as final.
Show 3 replies
-
1. Re: @Asynchronous
wdfink Dec 2, 2013 10:53 AM (in response to fcorneli)What you mean by that?
Should the @Async call delayed until the calles's transaction is finished or commits (not rolled back)?
From what I see you nedd to have a surrounding SLSB and annotate the method you call with @RequiresNew and start the @Async after this invocation return.
Also such request is more for JavaEE and not for JBoss, or you need to request a JBoss specific feature.
-
2. Re: @Asynchronous
kazaag Dec 2, 2013 3:18 PM (in response to fcorneli)As alternative to JMS, you can use timer which are also part of the transaction.
-
3. Re: @Asynchronous
wdfink Dec 3, 2013 2:25 AM (in response to kazaag)The creation of the timer is part of the transaction, not the execution of it.
But this might be the wanted behaviour.
But you need to pass the arguments as Info and you might have issues with the authentication if you need it.