oscerd commented on PR #28214: URL: https://github.com/apache/camel/pull/28214#issuecomment-6438718688
Addressed review feedback: - Refined `isTransportError()` in both `SftpOperations` and `MinaSftpOperations` to use a whitelist of connection errors (`SSH_FX_NO_CONNECTION` and `SSH_FX_CONNECTION_LOST`), ensuring application-level errors (e.g. `SSH_FX_FAILURE`, `SSH_FX_OP_UNSUPPORTED`) are treated as non-transport errors. - Added comprehensive unit tests in `RemoteFileConsumerStartingDirectoryJailTest` and `MinaSftpOperationsDisconnectTest` covering disconnected operations, whitelisted transport status codes, and application errors. - Updated documentation in `mina-sftp-component.adoc` (and mirrored catalog) clarifying link follow behavior under `jailStartingDirectory`. _Claude Code on behalf of oscerd_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
