CMT transaction timeout overrides is done.

It is configured using method attributes in jboss.xml (values are in seconds), e.g.

  | <jboss>
  | 
  |   <enterprise-beans>
  |      <session>
  |         <ejb-name>TxTimeout</ejb-name>
  |         <jndi-name>jbosstest/tm/TxTimeout</jndi-name>
  |         <method-attributes>
  |            <method>
  |               <method-name>testOverriddenTimeoutExpires</method-name>
  |               <transaction-timeout>5</transaction-timeout>
  |            </method>
  |            <method>
  |               <method-name>testOverriddenTimeoutDoesNotExpire</method-name>
  |               <transaction-timeout>20</transaction-timeout>
  |            </method>
  |          </method-attributes>
  |      </session>
  |   </enterprise-beans>
  | 
  | </jboss>
  | 

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to