Hi.
I'm Camel's fan :)  But, I'm a beginer only.

How can I send a message in two endpoints in one transaction ? And if the
second endpoint failed, then the first endpoint begin a rollback ?

My out-endpoints is transactional endpoints ("ibatis" for example).

snippet code :

<camelContext id="camelContext"
xmlns="http://activemq.apache.org/camel/schema/spring";>
   <route>
       <from
uri="quartz://myGroup/myTimerName?trigger.repeatInterval=5000&amp;trigger.repeatCount=-1"/>
                   

 <to uri="ibatis:insertHistory1"/>
 <to uri="ibatis:insertHistory2"/>
 <to uri="ibatis:insertHistory3"/>

   </route>
</camelContext>


Thanks
Evgeny
-- 
View this message in context: 
http://www.nabble.com/two-to-database-endpoints-in-one-transaction-tp17707633s22882p17707633.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to