How to emulate spring import feature with Blueprint ?
Issue
- Pre conversion to
OSGi
user had two jar files that useCamel
andSpring
, lets call them the container jar and the adapter jar. - Each one had resource directories with
Spring
XML
files defining beans and the packages with the bean classes. - The idea is that that camel-context is in the adapter jar and pulls in bean definitions from both the adapter jar and the container jar.
- Conversion to
OSGI
usingSpring
resolved all theXMLs
files by using<import>
to pull in the files on the imported packages. It worked, although very messy and not using any of theOSGi
capabilities, like services. - How to mimic the behavior of the
Spring
<import>
command inBlueprint
?
Environment
- Red Hat JBoss Fuse
- 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.