Storing camel routes information in a DB.

2013-04-08 Thread pbs
My use case is quite simple As soon as xml file arrives in one hot folder, I use came routes to move it to another file directory. *Question:* I want to store this information about different files transfer in database. e.g. File name 'abc' moved successfully at this particular time instance. Coul

Invoking Camel routes using XML fields and using database values

2013-05-05 Thread pbs
My use case is as follows: Step1: As soon as a xml file arrives in one hot folder(Say directory A), I need to read some fields in that XML file. Structure of XML file is provided below. After reading the jobId field from XML file, I need to get the corresponding ''jobname'' from a database table

Invoking camel route using values in database table.

2013-05-05 Thread pbs
Please help in implementing following use case. Step1: I receive one XML file. I use some ETL tool to parse the XML file and store the data of XML in database table as it is. My question is how to trigger a camel route using values from database table populated in step1. Any directions/approach