Hi.

I have a route with two transactional resources, stripped down it is:

                <camel:route>
                        <camel:from uri="{{incoming.filedir}}" />
                        <camel:from ref="myQueueEndpoint" />
                        <camel:transacted />
                        <camel:to 
uri="jpa:?persistenceUnit=myPersistenceUnit&amp;usePersist=true" />
                </camel:route>
                

How do I apply transactionality for the jpa endpoint in addition to the JMS one?
I do not want to use XA (which would have only one common transactionmanager).
Do I have to split the route in two and pass on the message over a
direct channel and stick in a JPA transactionmanager in the second
one?

--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Reply via email to