1

In my Spring 4 based project somehow I can not use @Transactional annotation and <tx:annotation-driven> ( as I want to make 'timeout' property's value configurable and want to read it's value from external property file so that non-technical guys can change timeout value based on environment, though timeout is constant value and it does not allow dynamic timeout value).

How can I develop it using Spring Transactional property (as java code) ? is it possible? like as below.

transactionObject.setTimeout(environment.getProperty("env.dev.timeout");
Crazy-Coder
  • 107
  • 1
  • 1
  • 9

0 Answers0