Hi Luca,
so.. I went for a jog, which got me thinking, perhaps it would be nice
to have ComponentConfigurer<T extends Component> interface in
camel-core and have this usable in non Spring applications and applied
to component by the generic type parameter.

In other words, I could have:

class ProxyComponentConfigurer implements
ComponentConfigurer<BaseHttpComponent> {...}

or

class SecretsConfigurer implements ComponentConfigurer<WithSecrets> {...}

zoran

On Wed, May 17, 2017 at 12:45 PM, Zoran Regvart <zo...@regvart.com> wrote:
>
> One use case I can think of is to have a *ComponentConfigurer that
> configures custom TLS properties to multiple components or configures
> username/passwords. Might be far fetched but it's a possibility that
> opens up with this approach. Somewhat same can be done with
> BeanDefinitionRegistryPostProcessor approach but it would be more
> complex IMHO,




-- 
Zoran Regvart

Reply via email to