On Mon, Dec 16, 2013 at 10:00 AM, alexey-s <[email protected]> wrote:
> Cause of the error.
> Method retrieves the value of the parameter and removes it from the list.
> The following method call will not find these parameters. Parameters were
> destroyed in the first call.
>
> Example FtpsEndpoint.java, line 163.
>              / / And we want to keep data timeout so we can log it later
>              timeout = ftpClientParameters.remove ("dataTimeout");
>
>
> FtpClient work through proxy server immediately identified the error.
>
> I think we should make a copy of ftpClientParameters. Need to remove from
> the copy.
> So we keep the parameters for the next call.
>

Yeah it sounds like a bug. Feel free to log a JIRA ticket. We should
do a local copy of the map first and remove from the local map
instead, so we keep the original options for future use.


>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-FTP-consumer-socketFactory-not-work-correctly-tp5744716p5744831.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Reply via email to