I am pulling messages from rabbit and aggregating them. I have noticed that even with autoAck=false the messages are ackd as soon as they have been aggregated. This means that if my process crashes the messages will not be re-queued for rety.
I have plugged in the leveldb java db as the aggregation repo which solves the problem, as I presume it will only ack once it has aggregated and stored in repo? To be honest level-db doesn't make me feel comfortable based on its activity and issues with the C version, guess I can switch it to a SQL repo.
So. Question is, is there something I can do so Camel will only Ack the messages of exchanges once the aggregated message has completed its journey? After aggregation my next step is to simple write to disk.