Hi,

MongoDB does not handle transactions
http://docs.mongodb.org/manual/faq/developers/#how-do-i-do-transactions-and-locking-in-mongodb
.

For your need i would rather use a custom error managment that's update
database after succes or error.

Best regards
P-Alban



On Mon, Nov 11, 2013 at 8:01 PM, bipin.sutariya <bipin.sutar...@gmail.com>wrote:

> Hi,
>
> I am trying to implement transaction handling to MongoDB in Camel Routes.
>
> What I am trying to achieve is get data from external system insert data in
> Mongodb.
>
> now route same data to other Route and do some processing and update state
> of inserted data to "processing".
>
> Now if there any error occur I would like to rollback data from
> "processing"
> to "new"
>
> How i can achieve this?
>
> Thanks
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/MongoDB-transaction-Handling-tp5743060.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to