Passing input fileName along the complete route

2011-08-25 Thread shekher.awasthi
Hi All, While working i came across a requirements where i have to name the final output file based on the input file e.g if the name of the input file is a.xml and i need to convert it to csv at the end than the output file should be named as customoutput_a.xml.csv like in my case i have the fol

Question regarding Using Thread.Sleep()

2011-08-29 Thread shekher.awasthi
Hi All, While working with Camel things are going find but have a doubt about using Thread.sleep() I have the following code public void executeRoute(String routeName) throws Exception{ resetStatus(); camelContext.startRoute(routeName); Thread.