We have an issue that a larger file is getting picked up by QVERA FTP from remote server while the file is being written. Hoping to add a 5 minute aging delay for the file before we attempt to pick it up.
Found the apache code readLockMinAge, and added it as custom apache command parameters to the inbound FTP setup.
With just the code no time parameters it is successful, but we error if we add in the time.
I tried readLockMinAge=300s and readLockMinAge=30000ms and readLockMinAge=30000
All three are producing an error in the FTP connection
org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: sftp://69.8.217.154:22//Erie_GL?connectTimeout=30000&fileExist=Fail&passiveMode=true&password=mXq3ZrA%245%40-%3C%5BU7P&readLockMinAge=30000ms&separator=UNIX&soTimeout=10000&stepwise=false&throwExceptionOnConnectFailed=true&username=qveradftp due to: Failed to resolve endpoint: sftp://69.8.217.154:22//Erie_GL?connectTimeout=30000&fileExist=Fail&passiveMode=true&password=mXq3ZrA%245%40-%3C%5BU7P&readLockMinAge=30000ms&separator=UNIX&soTimeout=10000&stepwise=false&throwExceptionOnConnectFailed=true&username=qveradftp due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{readLockMinAge=30000ms}]
If I remove everything after the = then I can test successfully and see the file that is pending.