camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fxthomas <>
Subject Re: Camel file component URI dynamic options & Filter query
Date Mon, 01 Feb 2016 14:17:08 GMT

        I have tried with  the  below route & filter configuration , its
works fine once , the filter is never called again  after the first run  .
Do i need to call the filter explicitly  to start the poll again? Since in
my Filter I am getting the sequence from the Db always in the accept method.

<route shutdownRunningTask="CompleteCurrentTaskOnly" id="UserCSVToDB" >
		      <setHeader headerName="sourcename">
               <setHeader headerName="fileseq">
      			<method ref="DatabaseBean"
method="getSequence(${header.sourcename})" />
		    <split streaming="true">
		      <tokenize token="\n"></tokenize>
		      <log message="The message contains ${body}"/>

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

View raw message