Not sure if this was answered. I think you were looking for the enricher pattern. Since you use ftp which uses a poll consumer take a look at pollEnrich [1]. Keep in mind that you can select your file at runtime too, via using a header.

Cheers,
Hadrian

[1] http://camel.apache.org/content-enricher.html


On 10/19/2011 12:53 AM, Trop wrote:
Hi Gnanaguru

Likely I am incorrectly expressed.
I need like this

<route autoStartup="false">
         <from uri="quartz:" />
         <to uri="ftp://anonymous@localhost/"; />
         <to uri="bean:foo" />
</route>

Regards
trp

--
View this message in context: 
http://camel.465427.n5.nabble.com/how-to-call-route-from-other-route-tp4913610p4916399.html
Sent from the Camel - Users mailing list archive at Nabble.com.

--
Hadrian Zbarcea
Principal Software Architect
Talend, Inc
http://coders.talend.com/
http://camelbot.blogspot.com/

Reply via email to