Hello, We are using Spring Web 4.2.4 and Apache Camel 2.16.2. We want to create a route which reads data from an Active Directory service. We want to use the Camel LDAP component. Our requirement is that we are able to read from different backend systems, which are configured by the user. The LdapContext which is used should be registered as a bean and it is looked up by the component from the Spring WebApplicationContext. However, this does not work for us, as we do not have the bean at deploy-time. Is there a way we can do this? From what I saw there is no easy way to register a bean at runtime.
Best regards, Andreya