-
Bug
-
Resolution: Done
-
Minor
-
jboss-fuse-6.1
-
None
-
%
-
- Camel sftp endpoint is set with double slash(//) following way:
<route id="timerToLog2"> <from uri="sftp://rider:secret@localhost:21000///tmp?localWorkDirectory=/home/cpandey/output/intermediate"/> <to uri="file:///home/cpandey/output"/> </route>
- Above we see 'sftp://rider:secret@localhost:21000///tmp' i.e. tmp with two forward slash.
- This code throws exception.
[org.apache.camel.component.file.GenericFileOperationFailedException - Cannot create new local work file: /home/cpandey/output/intermediate]
- This exception is very generic and mislead user to permission error while creating localworkdirectory.
- If we can provide some other exception like path is not correct than it would be more user friendly.
- relates to
-
ENTESB-3352 [Doc] camel-ftp component does not support absolute path.
- Closed