Hello Camel!

I was wondering if someone had already implemented the
org.apache.camel.spi.AggregationRepository for JDBC database ?
If not I would like to give it a try, Is there something I need to know
before I begin?

I read Camel In Action, chap. 8 sec.2 and analyzed the HawtDB implementation
and here is was I understand. Please correct me if I am wrong.

1. I need to implement the RecoverableAggregationRepository for my route to
be transactional
2. Two index (would be table with jdbc) are used to store exchanges, a
normal and a complete one.
2a. The normal index use the correlation id as key
2b. The complete index uses the exchanged ID as key
3. The remove operation move an exchange from the normal to the completed
index.
4. the scan method is run at regular interval to reprocess failed outgoing
exchanges (every 5 sec by default).

I have one question concerning the HawtDB implementation.
I see the doStart() method uses the ServiceHelper. I do not see any
documentation about that on the website, not in the Book either. Would I
need it in my implementation ?

Thanks in advance,

Olivier
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Aggregator-Persistence-tp2800301p3255168.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to