Add support for retrieving the current transaction timeout allowing the
ejb layer to override the default timeout when using CMT.

e.g. in jboss.xml (values are in seconds)

  | <?xml version="1.0"?>
  | <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=3832133#3832133

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


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to