You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by gilboy <jo...@gmail.com> on 2013/03/15 21:38:26 UTC
Transaction spanning multiple threads query
Hi
I have 2 routes. The first route calls a DAO method which makes a change to
an Oracle database table. When done it places the message on to a seda
queue.
My second route picks the message from the seda queue and invokes another
DAO method resulting in another change to an oracle table. My query is, if I
use the transaction syntax in my route will the transaction span multiple
routes(hence multiple threads)?
Thanks
Joe
--
View this message in context: http://camel.465427.n5.nabble.com/Transaction-spanning-multiple-threads-query-tp5729268.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Transaction spanning multiple threads query
Posted by Christian Müller <ch...@gmail.com>.
Short answer: no
Camel leverage on the Spring Platform Transaction Manager which doesn't
support this.
Sent from a mobile device
Am 15.03.2013 21:38 schrieb "gilboy" <jo...@gmail.com>:
> Hi
>
> I have 2 routes. The first route calls a DAO method which makes a change to
> an Oracle database table. When done it places the message on to a seda
> queue.
>
> My second route picks the message from the seda queue and invokes another
> DAO method resulting in another change to an oracle table. My query is, if
> I
> use the transaction syntax in my route will the transaction span multiple
> routes(hence multiple threads)?
>
> Thanks
> Joe
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Transaction-spanning-multiple-threads-query-tp5729268.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>