h2. Using ActiveMQ with Camel h3. Using Spring-DM It is often easy to define two application contexts for spring-dm, it helps you re-use configuration in Junit tests and cleanly separates OSGi from the normal spring application contexts. You define these files in a bundle by adding them to the classpath under META-INF/spring h4. OSGi Application context {pygmentize:lang=xml} {pygmentize} h4. Normal spring application context. {pygmentize:lang=xml} {pygmentize}