Reading multiple files in one exchange (Aggregation Strategy)

2017-01-23 Thread tysonj
Hello all, sorry if this has been covered but this is my first post and I have searched for ages for this solution. I see that the from file:/ reader reads one file at a time, and creates an exchange for each. But my requirement is that I set a from uri as a Quartz timer, and I would then like to

Re: Reading multiple files in one exchange (Aggregation Strategy)

2017-01-24 Thread tysonj
Hi again So I have worked it out, using a batch consumer on a Quartz2 schedule ?scheduler=quartz2&scheduler.cron=0+0+8+?+*+MON-FRI I did not realise that you could specify a schedule on the file component! That has solved everything, as I was trying to trigger a Quartz in the "from", and then wi