Hi,

I've created a custom camel consumer that consumes files from a JCR
repository.
It extends DefaultConsumer (and the endpoint extends DefaultEndpoint). 

In the consumer i spawn a thread that loops forever and
does 3 things:
  1) read the next file from JCR repo (under a certain path)
  2) set file status to busy
  3) execute the route : getProcessor().process(exchange);

The route it executes in step 3) is below. It's just a simple file copy
using ftp with some extra housekeeping. This is how the route looks in
Hawtio;



The onCompletion st the file in JCR back to DONE or ERROR depending on the
result of the copy action.

The point is, step 3) sometimes takes 15 minutes to complete. The ftp site
is not terribly slow or something.
What could be the reason for this delay? Is there any (hidden) delay in the
file/ftp read?
Or do i need to use GetAsyncProcessor().process instead?

I'm using camel 2.15.2



--
View this message in context: 
http://camel.465427.n5.nabble.com/getProcessor-process-exchange-takes-15-minutes-tp5785619.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to