title: set timeout from property file in spring <tx:method tag
body: <p>I using transaction management and AOP as following:</p>
  
  <pre><code>&lt;tx:advice id="tx.sys.advice" transaction-manager="sys.tx.mngr" &gt;
      &lt;tx:attributes&gt;
          &lt;tx:method name="suspendMember" read-only="false" propagation="REQUIRES_NEW" timeout="10"/&gt;
      &lt;/tx:attributes&gt;
  &lt;/tx:advice&gt;
  &lt;aop:config&gt;
      &lt;aop:pointcut id="domain.pointcut" expression="execution(* com.IUser.*(..))" /&gt;
      &lt;aop:advisor advice-ref="tx.sys.advice" pointcut-ref="domain.pointcut" /&gt;
  
      &lt;aop:advisor advice-ref="tx.sys.advice" pointcut-ref="domain.pointcut"  /&gt;
  &lt;/aop:config&gt;
  </code></pre>
  
  <p>I set timeout to <code>10</code> but I want set it by a property at properties file.
  I change my xml contetnt as following:</p>
  
  <pre><code>&lt;tx:method name="suspendMember" read-only="false" propagation="REQUIRES_NEW" timeout="${setting.timeout}"/&gt;
  </code></pre>
  
  <p>with above change I get error in run time as following:</p>
  
  <pre><code>org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 20 in XML document from class path resource [context.xml] is invalid; 
  nested exception is org.xml.sax.SAXParseException; 
  lineNumber: 20; columnNumber: 116; 
  cvc-datatype-valid.1.2.1: '${setting.timeout}' is not a valid value for integer'
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <p>my header of <code>context.xml</code> file is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans xmlns="http://www.springframework.org/schema/beans"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
         xmlns:tx="http://www.springframework.org/schema/tx"
         xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd"&gt;
  </code></pre>
  
  <p>and version of spring is : <code>3.0.5.RELEASE</code></p>