camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eswar <>
Subject sftp - Exception during concurent execution of sftp endpoint
Date Wed, 24 Dec 2014 00:22:47 GMT
Hi - I do not get this exception all the time. but happens occasionally.

Two routes are using the same sftp endpoint to send files to same server. 

when both the routes are processing concurrently, the first route is
connected and transmitting the file, this first thread is pushed out and the
second route had started to transmit the files through the second route.
First thread came back in to transmit the file, but i got the below DEBUG
log that there is an exception. Though this is not logged as ERROR and this
resulted in continuing the route rather than stopping at this point.

DEBUG RemoteFileProducer: Exception occurred during stopping: Cannot change
directory to: /

is there any way in the camel route to explicitly mention to run the
endpoint to its completion before it gets pushed back for other threads?

any suggestions on this would be really helpful. thank you.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message