camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexey-s <alex...@mail.ru>
Subject Re: FTP over Proxy
Date Fri, 25 Oct 2013 03:30:47 GMT
Hi

The change is very small

DefaultComponent object has a method 
     protected void setProperties (Object bean, Map <String, Object>
parameters) throws Exception
It is necessary to repeat this method in DefaultEndpoint.

Why is that? Used factory EndpointHelper owes its name to the tune
DefaultEndpoint.

FtpEndpoint is created by setting the parameter component.

replace the line
103:   IntrospectionSupport.setProperties (client, ftpClientParameters);
111:   IntrospectionSupport.setProperties (ftpClientConfig,
ftpClientConfigParameters);
the challenge of the new method
103:   setProperties (client, ftpClientParameters);
111:   setProperties (ftpClientConfig, ftpClientConfigParameters);




--
View this message in context: http://camel.465427.n5.nabble.com/FTP-over-Proxy-tp3314841p5742147.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message