How to emulate spring import feature with Blueprint ?

Solution Unverified - Updated -


  • Pre conversion to OSGi user had two jar files that use Camel and Spring, 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 using Spring resolved all the XMLs files by using <import> to pull in the files on the imported packages. It worked, although very messy and not using any of the OSGi capabilities, like services.
  • How to mimic the behavior of the Spring <import> command in Blueprint?


  • Red Hat JBoss Fuse
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content