camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadrian Zbarcea (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-430) consumeDelete=false option of etl sample doesn't seem to work
Date Thu, 03 Apr 2008 23:12:32 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hadrian Zbarcea updated CAMEL-430:
----------------------------------

    Fix Version/s: 1.3.0
                       (was: 1.4.0)

> 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
>            Assignee: Claus Ibsen
>             Fix For: 1.3.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.


Mime
View raw message