[jboss-user] [EJB 3.0] - Re: Altering the transaction timeout

JamesWoodward do-not-reply at jboss.com
Fri Feb 16 06:00:45 EST 2007


Yes, in your session bean, you need to annotate your long running method as follows:

    @org.jboss.annotation.ejb.TransactionTimeout(3000)
    public void doSomethingThatTakesAges() {
    
    ...
   
    }

James

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

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



More information about the jboss-user mailing list