camel-users mailing list archives

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

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

FtpEndpoint is created by setting the parameter component.

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

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

View raw message