Thanks Marco,

But your solution wont solve my problem.
the problem is 
Like i have several user account in one folder called inbox(user1 ,user2,
user3)  and each user have some files .
User1(a.xml,a.txt,a.pdf, any other documents which i have no information ).

and I want to processed all the user same time

and I need to check whether the user have particular type of .xml file or
not. So before proceeding 
i just want to be sure that all the files related to user1,user2 ,user3 ,...
are agrreagted

nd once i done that

next step i need to check what inside in aggregation exchange, if it has a
particular .xml than do some transformation and validation and after that i
need to crate a folder called user1 dynamically and then put all the files
together i.e. the processed .xml file along with other documents.so the
output will be like outbox/(user1,user2,..)

<from uri:file:inbox recusive=true"/>
        <aggregate groupExchanges="true" completionTimeout="1000">
            <correlationExpression>
                <simple>(I am using parent directory name here)</simple>
            </correlationExpression>
            <to uri="mock:aggregated"/>
        </aggregate>

Now i want all my files here relevent to particular users say user1,so my
question is how i get my files here from this aggregated exchange  


Thanks in advance

 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Aggregator-and-splitter-tp5731227p5731243.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to