Hi,
I've been using the ContextSourceAndDataSourceTransactionManager to take care of the ldap and DB transactions.
<bean id="transactionManager" class="org.springframework.ldap.transaction.compen sating.manager.ContextSourceAndDataSourceTransacti onManager">
<property name="dataSource" ref="dataSource" />
<property name="contextSource" ref="contextSource" />
</bean>
Now I'm also using a MDB which normally works with a WebLogicJtaTransactionManager :
<bean id="transactionManager" class="org.springframework.transaction.jta.WebLogi cJtaTransactionManager" >
Is it possible to use 2 TransactionManagers in the same applicationContext ?
Or is this not the correct way to do this ?
Thanks.
Kristof


Reply With Quote