2 Replies Latest reply on Feb 10, 2006 2:01 PM by Scott Stark

    Different transaction timeouts for specific methods in conta

    Eitan Gur Newbie

      Hi all

      I'm using jboss-4.0.3, and would like to know if I can set different transaction timeouts for specific methods.
      For example, if in a session-bean MyService I have 2 methods: foo() and bar().
      I want foo() to use the dafult value (as stated in jboss-service.xml - 300 secs), but I want bar() to have a timeout of 600 secs.

      Is there a way to do that?