[
https://issues.apache.org/activemq/browse/CAMEL-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60847#action_60847
]
Claus Ibsen commented on CAMEL-2979:
------------------------------------
Ah yeah Camel will re-connect if the first connection fails. I am fixing this
so it will not do this if {{maximumReconnectAttempts=0}} as you have configured.
So when you configure {{maximumReconnectAttempts=0}} then Camel should never
try to re-connect.
> FtpComponent: If login fails and disconnect=true another connection is opened.
> ------------------------------------------------------------------------------
>
> Key: CAMEL-2979
> URL: https://issues.apache.org/activemq/browse/CAMEL-2979
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-ftp
> Affects Versions: 2.4.0
> Reporter: Andreas Asmuss
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.5.0
>
>
> In a route such as below a second connection to the ftp server is opened if
> the login fails.
> <route>
> <from
> uri="ftp:localhost/inbox/?username=usr&password=pwd&disconnect=true&consumer.delay=60s&maximumReconnectAttempts=0"
> />
> <to uri="file:test_data" />
> </route>
> Further description:
> http://camel.465427.n5.nabble.com/FTP-Try-login-once-and-disconnect-if-failure-td1692660.html#a1692660
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.