How to emulate spring import feature with Blueprint ?
Issue
- Pre conversion to
OSGiuser had two jar files that useCamelandSpring, lets call them the container jar and the adapter jar. - Each one had resource directories with
SpringXMLfiles 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
OSGIusingSpringresolved all theXMLsfiles by using<import>to pull in the files on the imported packages. It worked, although very messy and not using any of theOSGicapabilities, 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
