Results 1 to 2 of 2

Thread: Customizing transaction timeout

  1. #1
    Join Date
    Apr 2005
    Location
    Brussels, Belgium
    Posts
    100

    Default Customizing transaction timeout

    My transaction manager is just declared like that.

    <bean id="transactionManager" class="org.springframework.transaction.jta.JtaTran sactionManager">
    </bean>

    What is the default transaction timeout for this transaction manager ? Is there a way to customize transaction timeout ?
    Sebastien Arbogast

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    JtaTransactionManager defined as you did will do a lookup for a UserTransaction in well-known locations. Otherwise you can inject the user transaction or TransactionManager yourself. Set the transaction timeout on the actual TransactionManager that you inject or that creates the user transactions.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •