camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gudiseashok <>
Subject Second router in Pipeline not being reached in repeated interval scheldule
Date Tue, 10 Sep 2013 17:21:24 GMT
I am new to Apache Camel, but I am really trying hard to learn this. 

I working on below scenario 

1) Read from Remote server, to local directory
2) Use above local folder with Apache Lucene to index those files
3) Inform listerner to update this step

 ***Repeating those above steps for every 30 minutes with timer (code is
and flexibility to add more routiens (steps 1 to 3 as a routine) at run
To achieve step by step process, I have used <pipeline> below, 

but my problem is it is not going to next router , it is always repeating
first Router (FTP file transfer).

please suggest incase of any other efficient way to achieve above
requirement incase I am going in wrong way. 

Please find my config below,

I wrote this way,

    <camel:camelContext utoStartup="true">
         <camel:propertyPlaceholder id="sftpproperties"
        <camel:route id="log-sequence-scheduler"> 
             <camel:to uri="direct:log-sftp-import"/> 
            <camel:to uri="direct:apache-lucene-indexing"/>

    <camel:from uri="direct:log-sftp-import"/>
         <camel:to uri="bean:fileCopier"/>
       <camel:to uri="file://{{}}"/>

        <camel:from uri="direct:apache-lucene-indexing"/>
        <camel:to uri="bean:luceneIndexer?method=luceneIndexing"/>

Please help...!

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message