I'm using apache-servicemix-4.2.0-fuse-02-00 and would like to reuse the SMX
exported transaction manager. In my application-context-osgi.xml I configure
it like this (borrowed from activemq-broker.xml)
{code:title=application-context-osgi.xml}
<osgi:reference id="transactionManager"
interface="javax.transaction.TransactionManager" />
{code}
and configured my camel-activemq component to be transacted and use this
transaction manager. So far so good... Is this ok?
Now, I have another service who I need a (JDBC) transaction manager
(executing multiple inserts/updates in one transaction). Can/should I use
the same transaction manager?
What is the best solution, if I need a XA transaction manager (reading from
ActiveMQ and update the database in one transaction)?
Thanks in advance,
Christian
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Using-the-SMX-exported-transaction-manager-in-SMX-4-2-tp3374400p3374400.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.