Read Multiple files or using concurrent consumers in one route

2013-12-10 Thread Claire
Hi, I wonder if it is possible to read multiple files in one folder at same time and process. If so, please share me some sample codes. Thanks, Claire -- View this message in context: http://camel.465427.n5.nabble.com/Read-Multiple-files-or-using-concurrent-consumers-in-one-route

Re: Read Multiple files or using concurrent consumers in one route

2013-12-10 Thread Claire
Actually, I would like to achieve following things 1. Read multiple files from each folder 2. Modify all contents for each file 3. Move those original files into another folder (one file for each folder) 4. Move those modified files into another folder. All I want to do is using spring DSL. I'm u

Re: Read Multiple files or using concurrent consumers in one route

2013-12-10 Thread Claire
Hi, That one is for files from one directory? what if i want to read multiple files from different directory? what I can use to modify the content of each file. What should i specify to modify those files? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Read-Multiple

Re: Read Multiple files or using concurrent consumers in one route

2013-12-10 Thread Claire
Hi, The files are in same dir but different sub-dir. I have two files (one is inside D:\input\type1 and another one is isnide D:\input\type2). I can read that two files using recursive option (thanks to you) but I want to modify content of those file after i read. how can I achieve that? Thanks

Re: Read Multiple files or using concurrent consumers in one route

2013-12-10 Thread Claire
Guys, Thanks so much. It worked. -- View this message in context: http://camel.465427.n5.nabble.com/Read-Multiple-files-or-using-concurrent-consumers-in-one-route-tp5744545p5744587.html Sent from the Camel - Users mailing list archive at Nabble.com.

Archive files using apache camel

2013-12-11 Thread Claire
Hi, I wonder if there is a way to do archive files in camel. Once I translated from my csv file into xml file, there will be many xml file. What I would like to do is to do archive files (number of files to be archived would depends on properties file). Thank you much in advance. -- View this

Reading file using camel

2013-12-11 Thread Claire
Hi, I have two files to convert from csv file to xml file and I also have another file (properties or excel file) to lookup. So I would like to read value from that excel file and convert my csv to xml file based on those values. I did one java to read those value from that lookup table file but I

Re: Archive files using apache camel

2013-12-12 Thread Claire
Hi, Thanks Willem! There are csv files I have to convert to xml files. Once I done converting to xml files, I have to place those converted xml files into a specific folder. There will be many xml files inside that folder. So I would like to do some housekeeping activities to that folder. (e.g arc

Re: Archive files using apache camel

2013-12-13 Thread Claire
Hi, Thank you guys. I achieved this using scheduler task at OS level by some batch script file. -- View this message in context: http://camel.465427.n5.nabble.com/Archive-files-using-apache-camel-tp5744649p5744720.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Reading file using camel

2013-12-13 Thread Claire
Hi, Sorry, it was my mistake for syntax error :( Thank you anyway =D -- View this message in context: http://camel.465427.n5.nabble.com/Reading-file-using-camel-tp5744653p5744721.html Sent from the Camel - Users mailing list archive at Nabble.com.

Passing value from one bean to one bean

2013-12-13 Thread Claire
Hi, I have been trying to pass one value from one bean to one bean. ** // this bean return test1. So I would like to pass that value (test1) into another bean. I wonder if there is a way I can pass that value which I got from another bean? Thanks -- View this message in context: http://came

Re: Passing value from one bean to one bean

2013-12-15 Thread Claire
Hello, Thank you for your reply but I think there's something wrong with your message. I don't get any message. -- View this message in context: http://camel.465427.n5.nabble.com/Passing-value-from-one-bean-to-one-bean-tp5744722p5744804.html Sent from the Camel - Users mailing list archive at

passing exchange and other value as parameters

2013-12-18 Thread Claire
Hi, I'm trying to pass exchange as a parameter and one more value using following code but still not working. Is it possible to pass exchange as a parameter when I call bean in my route xml? If so, how should I call it? thanks * * The function inside bean is below: *public void getHeaders(Excha