Problem debugging Exception

2013-05-05 Thread ihullu
Hello, I have the attached project. The problem is I get an exception. I cannot catch this exception in the Eclipse debugger to see what is wrong. When I comment out the line: .setHeader("id", xpath("/Product/id/text()")).log("id = ${in.header.id}") it works. When I leave it in it does not

Re: splitter, enricher, aggregator

2013-05-05 Thread ihullu
Hi Claus, Thank you for the quick response. You basically advice to use a bean to do the enriching. Is it not possible to use more of the build in functionality of Camel to do the job. Inside the bean I need to write a lot of code to lookup the correct element based on the id and add the addit

splitter, enricher, aggregator

2013-05-04 Thread ihullu
I would like to do the following: 1. read a csv file 2. split it per line 3. per line enrich it with data coming from a xml source 4. per line execute a REST call to store the line As I have a pure Java background an no Spring experience I used the Java DSL. This is what I created so far: