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

Claus Ibsen commented on CAMEL-430:
-----------------------------------

committed a fix to trunk

> consumeDelete=false option of etl sample doesn't seem to work
> -------------------------------------------------------------
>
>                 Key: CAMEL-430
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-430
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jpa, examples
>    Affects Versions: 1.2.0, 1.3.0
>            Reporter: Peter Jones
>             Fix For: 1.4.0
>
>
> In org/apache/camel/example/etl/EtlRoutes.java, the following line:
> {code}
>     
> from("jpa:org.apache.camel.example.etl.CustomerEntity?consumeDelete=false?consumer.delay=3000&consumeLockEntity=false")
>         .setHeader(FileComponent.HEADER_FILE_NAME, 
> el("${in.body.userName}.xml"))
>         .to("file:target/customers?append=false");
> {code}
> seems to successfully dump the database entries to files in the 
> target/customers directory.  Unless I'm misunderstanding the sample, the 
> consumeDelete=false is meant to ensure that the dump of the database does not 
> delete the entries from the database.  However, when running the etl sample 
> querying the customer table in the database, the list is empty.  I suspect 
> the consumeDelete=false isn't working.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to