Hello.

We have about 100 Camel projects relying all on the same pattern,
using the same OSGi services or beans, events listeners, and so on. We
plan to migrate all these projects from an old RH Fuse version to a
more recent Apache Karaf.

I'd like to refactor these projects removing all the duplicated
declarations in the blueprints, and I'm looking for solutions to move
all the services and beans declarations to a single common point of
our code.

What should be the better way to do that ? Is it possible to set a
custom factory for the CamelContext in our blueprints, and use it to
provide "ready to use" contexts with services and beans already set on
the registry ?

Thanks in advance for your ideas.

Regards.

Reply via email to