I am trying to set up the following route:
@Override public void configure() throws Exception { log.info(\"Creating ftp rout from \" + config.f
Camel expects not only class references but bean instances.
class
Assuming the classes have a default constructor, bind bean.clazz().newInstance() to the registry instead of bean.clazz(), i. e.:
bean.clazz().newInstance()
bean.clazz()
main.bind(bean.name(), bean.clazz().newInstance());