Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Logical Units of Work

$
0
0
Hi

I've not used Camel for a number of years and now have a (to me) non-trivial
task which I wonder if it can be done in Camel using standard camel
component:

I have a CSV file with structured data in it:

F1,xxx,,xxx,xxx
F2,XXX,XXX
F2,XXX,XXX
F1,xxx,,xxx,xxx
F2,XXX,XXX
F2,XXX,XXX
F2,XXX,XXX

There is a logical connection between the rows starting with F1 and the
subsequent F2 rows. So, in the example above, the first 3 rows would form a
logical unit of work and the final 4 rows would form a logical unit of work.

Can camel be configured to read in and process this data in LUW groups and
fail the whole LUW should any one of the rows in the LUW be in error?

Andy

Viewing all articles
Browse latest Browse all 5648

Trending Articles