camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zoran Regvart <zo...@regvart.com>
Subject Re: Spring boot starter code generation
Date Tue, 16 May 2017 21:19:47 GMT
Hi Luca,

On Tue, May 16, 2017 at 6:23 PM, Luca Burgazzoli <lburgazzoli@gmail.com> wrote:
> What would be the best option to keep the auto generation awesomeness
> and at the same time have a way to tweak the process ?

BeanDefinitionRegistryPostProcessor can remove and add bean
definitions, so you can do pretty much anything you need.

So perhaps a BeanDefinitionRegistryPostProcessor to load custom SPI to
perform additional post processing of the bean definition registry,
then have this BeanDefinitionRegistryPostProcessor and SPI interface
in camel-spring-boot, and the implementation of the SPI in the
component starter. The SPI implementation can be loaded using
FactoryFinder.

zoran
-- 
Zoran Regvart

Mime
View raw message