Traverse FTP tree

2013-09-05 Thread Tom.Fornoville
Hi everyone, On our ftp server we have a home directory for every customer where they can put their files, it look something like this: ftp-root -- 001 -- 20130905.xml -- feedback -- feedback_20130903.xml -- feedback_20130904.xml -- 002 -- 20130905.xml

Re: Flatpack and aggregation

2013-08-07 Thread Tom.Fornoville
Hi Zemian, Thanks for putting me on the right track with the idempotentConsumer! Since Flatpack puts the records in a Java Map in the Body I had to do a convertTo and ended up with the following: bean id=organisationMemoryRepository

Flatpack and aggregation

2013-08-06 Thread Tom.Fornoville
'm relatively new to Camel and guessing my problem can be solved with a combination of FlatPack and an aggregation but I'm not seeing how I can make it work without writing a lot of code. It starts with a fixed width file with 2 columns (actually more but only 2 are relevant): action_id and