Hi,

you could use a recipient list to dynamically identify the endpoint.

http://camel.apache.org/recipient-list.html

Bart Horré
Anova r&d bvba

On Tue, Feb 3, 2015 at 10:39 AM, Mezai 279 <mezai....@gmail.com> wrote:

> I m planning to write a route which will have to move messages from inbox
> to four different folders folder1, folder2, folder3, folder4 every 5
> minutes. How can i do this?
>
> <from
>
> uri="imaps://{{mailScanner.imap.host}}:{{mailScanner.imap.port}}?username={{mailScanner.email}}&amp;password={{mailScanner.email.password}}&amp;delete=true&amp;unseen=true&amp;closeFolder=false&amp;disconnect=false&amp;consumer.delay=60000&amp;copyTo=
> *folder2*"/>
>
> I need to dynamically change folder2 to folder1, folder4 every 5 miutes.
>
> -Thanks
> Sasi
>

Reply via email to