[ 
https://issues.apache.org/jira/browse/CAMEL-16638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17443352#comment-17443352
 ] 

Claus Ibsen commented on CAMEL-16638:
-------------------------------------

Tried the aggregate example and switched to use leveldb repo

  <bean id="myRepo" 
class="org.apache.camel.component.leveldb.LevelDBAggregationRepository">
    <property name="persistentFileName" value="my-repo.dat"/>
    <property name="repositoryName" value="foo"/>
    <property name="returnOldExchange" value="true"/>
  </bean>

This worked fine

[INFO] Starting Camel ...
[pache.camel.spring.Main.main()] LevelDBAggregationRepository   INFO  On 
startup there are 1 aggregate exchanges (not completed) in repository: foo
[pache.camel.spring.Main.main()] LevelDBAggregationRepository   INFO  On 
startup there are no completed exchanges to be recovered in repository: 
foo-completed
[pache.camel.spring.Main.main()] AggregateProcessor             INFO  Using 
RecoverableAggregationRepository by scheduling recover checker to run every 
5000 millis.
[pache.camel.spring.Main.main()] AbstractCamelContext           INFO  Routes 
startup summary (total:1 started:1)
[pache.camel.spring.Main.main()] AbstractCamelContext           INFO      
Started route1 (stream://in)
[pache.camel.spring.Main.main()] AbstractCamelContext           INFO  Apache 
Camel 3.14.0-SNAPSHOT (camel) started in 197ms (build:21ms init:61ms 
start:115ms)

> Leveldb is deleting persisted data on routes startup
> ----------------------------------------------------
>
>                 Key: CAMEL-16638
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16638
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-leveldb
>            Reporter: suhas
>            Assignee: Jiri Ondrusek
>            Priority: Minor
>         Attachments: camel-leveldb.docx
>
>
> leveldb repo is storing data and aggregated messages are storing.
> But when routes are starting it is deleting data in level dB and not sending 
> aggregates messages to the downstream..



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to