Hi there,
I have set up a bean to wrap a transaction around all create method calls in a bean as listed below. However my application is still using the global JTA timeout of 300. Can anyone shed any light on what I'm doing wring here please?
lt;bean id=quot;transactionManagerquot; class=quot;org..transaction.jta.WebLogi cJtaTransactionManagerquot; /gt;
lt;bean id=quot;efilingImageServicequot; class=quot;blah.EFilingImageServiceImplquot; parent=quot;abstractImageServicequot; p:imageService-ref=quot;imageServiceNextGenquot;/gt;
lt;bean id=quot;overrideTimeoutBeanquot; class=quot;org..transaction.interceptor .TransactionProxyFactoryBeanquot;gt; lt;property name=quot;transactionManagerquot; ref=quot;transactionManagerquot;/gt; lt;property name=quot;targetquot; ref=quot;efilingImageServicequot;/gt; lt;property name=quot;transactionAttributesquot;gt;lt;propsgt; lt;prop key=quot;create*quot;gt ROPAGATION_REQUIRED,timeout_10000lt;/propgt;lt;/propsgt; lt;/propertygt; lt;/beangt;
Many thanks |