What kind of the event that you expect camel to fire for you?

As the FTP service doesn't provide this kind of service for us, we still need to poll the FTP server from time to time.

On Wed Jan 11 00:44:15 2012, Raul wrote:
Hello,

I want to create a custom component (Component, EndPoint, Consumer,
Producer..).
This component will create a FTP Route and it will have the control to start
and stop the FTP Route and the business logic too.

The first vesion of my component is a poll Consumer. This solution doesn't
like me because I have a poll (of my custom) and another poll inside (of
FTP)

I have read about "DefaultScheduledPollConsumer", I don't know if I can use
it to create a event-driven componet that listens the file received from FTP
Route.

Anybody has experience with this class? An example?

Thank you.
Raúl








--
View this message in context: 
http://camel.465427.n5.nabble.com/FTP-DefaultScheduledPollConsumer-Converts-a-polling-consumer-into-an-event-driven-consumer-instance-tp5134561p5134561.html
Sent from the Camel - Users mailing list archive at Nabble.com.




--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
        http://jnn.javaeye.com (Chinese)
Twitter: willemjiang Weibo: willemjiang

Reply via email to