Hi Good idea about that setProperties in default endpoint.
I logged a couple of tickets https://issues.apache.org/jira/browse/CAMEL-6907 https://issues.apache.org/jira/browse/CAMEL-6908 On Fri, Oct 25, 2013 at 5:30 AM, alexey-s <[email protected]> wrote: > 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. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
