You'd need to define a TransactionManager, and set the
defaultTransactionTimeout on it, similar to this:

<TransactionManager id="myTransactionManager" type="TransactionManager">
    defaultTransactionTimeout = 10 minutes
</TransactionManager>

Note that that bean invocations that exceed the timeout will be marked as
rolled back, but the operations themselves won't be interrupted at the
timeout point.

Jon


On Tue, Nov 12, 2019 at 12:00 PM Ivan Junckes Filho <[email protected]>
wrote:

> Hey guys, quick question.
>
> What property should I use to change EJB transaction timeout?
> Does this work in the system.properties?
> defaultTransactionTimeout = 10 minutes
>

Reply via email to