camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dewitte P-Alban <dewitte...@gmail.com>
Subject Re: MongoDB transaction Handling
Date Tue, 12 Nov 2013 07:54:18 GMT
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.sutariya@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message