e.ibis-adapterframework-core.7.9.5.source-code.springTOMCATNARAYANA.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= " http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd " > <import resource="springTOMCAT.xml"/> <import resource="springJms.xml"/> <bean name="txManagerReal" class="nl.nn.adapterframework.jta.narayana.NarayanaJtaTransactionManager" depends-on="narayanaConfig" > <property name="statusFile" value="${transactionmanager.log.dir}/status.txt" /> <property name="uidFile" value="${transactionmanager.log.dir}/tm-uid.txt" /> <property name="uid" value="${transactionmanager.uid}" /> </bean> <bean id="narayanaConfig" class="nl.nn.adapterframework.jta.narayana.NarayanaConfigurationBean"> <property name="properties"> <props> <prop key="JDBCEnvironmentBean.isolationLevel">2</prop> <!-- TRANSACTION_READ_COMMITTED --> <prop key="ObjectStoreEnvironmentBean.objectStoreDir">${transactionmanager.log.dir}</prop> <prop key="ObjectStoreEnvironmentBean.stateStore.objectStoreDir">${transactionmanager.log.dir}</prop> <prop key="ObjectStoreEnvironmentBean.communicationStore.objectStoreDir">${transactionmanager.log.dir}</prop> <prop key="CoordinatorEnvironmentBean.defaultTimeout">${transactionmanager.defaultTransactionTimeout}</prop> <prop key="CoordinatorEnvironmentBean.txReaperTimeout">${transactionmanager.narayana.reapTime}</prop> <prop key="CoordinatorEnvironmentBean.txReaperMode">DYNAMIC</prop> <prop key="CoordinatorEnvironmentBean.txReaperZombieMax">2</prop> <!-- default 8. how many stuck threads need to be present before things are logged --> <prop key="CoordinatorEnvironmentBean.txReaperTraceGracePeriod">${transactionmanager.narayana.stuckTime}</prop> <prop key="CoordinatorEnvironmentBean.txReaperTraceInterval">${transactionmanager.narayana.stuckTimerTime}</prop> </props> </property> </bean> <bean id="dataSourceFactory" class="nl.nn.adapterframework.jta.narayana.NarayanaDataSourceFactory" depends-on="txManagerReal" > <property name="transactionManager" ref="txManagerReal"/> </bean> <bean id="connectionFactoryFactory" class="nl.nn.adapterframework.jta.narayana.NarayanaConnectionFactoryFactory" depends-on="txManagerReal" > <property name="transactionManager" ref="txManagerReal"/> </bean> </beans>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy