You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by pbs <lo...@gmail.com> on 2013/05/05 09:56:43 UTC

Invoking Camel routes using XML fields and using database values

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.
Then depending upon the status field in XML(success/failure) for that JobId, 
I need to invoke a invoke a camel route. ( camel route can be simple like
moving a xml file to some other directory C)

Any directions will be really helpful for me.  Many Thanks in advance.


*Structure of XML file:*

<JobId>123</JobId>
<Status>success or failure</Status>






--
View this message in context: http://camel.465427.n5.nabble.com/Invoking-Camel-routes-using-XML-fields-and-using-database-values-tp5732028.html
Sent from the Camel - Users mailing list archive at Nabble.com.