The consumer creates the exchange so its the created event instead.


On Wed, Jun 18, 2014 at 4:39 PM, Chubutin <ramp...@gmail.com> wrote:
> Hi! I'm trying to audit a route which starts with *from("ftp:*)*. The
> objetive is to log (in another class) when the FTP Consumer detect a file
> and the consumer start to process the FIle (move or delete, or anything).
>
> My first approach is to create a Notifier and process the exchanges, but i
> don't know if intercepting the ExchangeSendingEvent is the correct way. When
> I intercept that exchange is when the consumer is sending the exchange when
> it finish to process the file.
>
> Is there another event to make this possible? Or should I use an
> interceptor?
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Notifier-when-FTP-Polling-starts-to-read-a-file-tp5752509.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to