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

Reply via email to