Hi,

Am using sftp uri inside consumerTemplate to get the file. Am setting 
maximumReconnectAttempts as n. If the password is incorrect, it tries 3+n
times (ie., default value = 3 + user provided value n)
So the minimum retry attempt is 4. I have tested it with different values,
but the behavior is same everytime. Providing 0 or any negative value
disabling the retry attempt. 

consumer.receive("sftp://xyz:***@hostname:22//var/tmp/?stepwise=false&maximumReconnectAttempts=3&delay=5000&fileName=abc.txt&move=${file:name}.done";,
5000);

Why it is not overriding the default instead adding the given value to the
default value?



--
View this message in context: 
http://camel.465427.n5.nabble.com/sftp-maximumReconnectAttempts-inside-consumerTemplate-adds-the-user-provided-value-to-the-default-vae-tp5763645.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to