Hi You can use content enricher EIP http://camel.apache.org/content-enricher.html
There is a pollEnrich you can use in the DSL On Mon, Feb 15, 2010 at 4:38 PM, Kevin Jackson <[email protected]> wrote: > Hi, > > I need to use a quartz corn schedule to trigger an ftp consumer > > I guess this is a common idiom, but as yet I cannot find any examples > on the wiki or in the archived mailing list > > Currently I have: > > <camel:route startupOrder="0"> > <camel:from ref="stock-schedule"/> > <camel:to ref="stock-ftp"/> > <camel:to ref="stock-file"/> > </camel:route> > > which I know is incorrect. I have looked at > > <camel:route startupOrder="0"> > <camel:from ref="stock-schedule"/> > <camel:enrich ref="stock-ftp"/> > <camel:to ref="stock-file"/> > </camel:route> > > but I know this is also incorrect. > > <camel:route startupOrder="0"> > <camel:from ref="stock-schedule"/> > <camel:from ref="stock-ftp"/> <-- this needs to be a from in my > opinion but I don't know how to achieve this > <camel:to ref="stock-file"/> > </camel:route> > > Thanks, > Kev > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
