[jboss-user] [EJB 3.0] - exception while processing @Timeout method

michalzel do-not-reply at jboss.com
Thu Jul 13 07:02:56 EDT 2006


I have got method annotated by @Timeout in my @Stateless bean. Method is called once a day and performs some activites. When these are done, just before method exits, new timer event is prepared. Unfortunatelly, when EJBException (or other) is thrown during processing, timer event is not created, although It's being made in finally block.
I would like to have certainty that timer event is created though. How can this be achieved? I am using JBoss4.0.3SP1 with EJB3 RC3.

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

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

More information about the jboss-user mailing list