camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geetha <>
Subject sftp maximumReconnectAttempts inside consumerTemplate adds the user provided value to the default value
Date Thu, 05 Mar 2015 09:29:56 GMT

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. 


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

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

View raw message