I've created a simple test here under Karaf 4.0.9 , Spring 4.2.9, Gemini
2.0.0 and Camel 2.19.0-SNAPSHOT. 

2017-04-12 16:21:31,564 | INFO  | ExtenderThread-1 |
OsgiBundleXmlApplicationContext  | 52 -
org.apache.servicemix.bundles.spring-context - 4.2.9.RELEASE_1 | Refreshing
OsgiBundleXmlApplicationContext(bundle=br.com.pcsist.myaudit.wta-myaudit-domain,
config=osgibundle:/META-INF/spring/*.xml): startup date [Wed Apr 12 16:21:31
BRT 2017]; root of context hierarchy
2017-04-12 16:21:31,566 | INFO  | ExtenderThread-1 |
OsgiBundleXmlApplicationContext  | 52 -
org.apache.servicemix.bundles.spring-context - 4.2.9.RELEASE_1 | Application
Context service already unpublished
2017-04-12 16:21:31,567 | INFO  | ExtenderThread-1 | XmlBeanDefinitionReader    
     
| 51 - org.apache.servicemix.bundles.spring-beans - 4.2.9.RELEASE_1 |
Loading XML bean definitions from URL
[bundle://164.0:0/META-INF/spring/applicationContext.xml]
2017-04-12 16:21:31,645 | INFO  | ExtenderThread-1 | CamelNamespaceHandler      
     
| 165 - org.apache.camel.camel-gemini - 2.19.0.SNAPSHOT | OSGi environment
detected.
2017-04-12 16:21:32,252 | INFO  | ExtenderThread-1 |
WaiterApplicationContextExecutor | 58 -
org.eclipse.gemini.blueprint.extender - 2.0.0.RELEASE | No outstanding OSGi
service dependencies, completing initialization for
OsgiBundleXmlApplicationContext(bundle=br.com.pcsist.myaudit.wta-myaudit-domain,
config=osgibundle:/META-INF/spring/*.xml)
2017-04-12 16:21:32,311 | INFO  | ExtenderThread-1 | OsgiSpringCamelContext     
     
| 159 - org.apache.camel.camel-core - 2.19.0.SNAPSHOT | Apache Camel
2.19.0-SNAPSHOT (CamelContext: camel-1) is starting
2017-04-12 16:21:32,311 | INFO  | ExtenderThread-1 |
ManagedManagementStrategy        | 159 - org.apache.camel.camel-core -
2.19.0.SNAPSHOT | JMX is enabled
2017-04-12 16:21:32,346 | INFO  | ExtenderThread-1 |
DefaultRuntimeEndpointRegistry   | 159 - org.apache.camel.camel-core -
2.19.0.SNAPSHOT | Runtime endpoint registry is in extended mode gathering
usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
2017-04-12 16:21:32,347 | INFO  | ExtenderThread-1 | OsgiSpringCamelContext     
     
| 159 - org.apache.camel.camel-core - 2.19.0.SNAPSHOT | StreamCaching is not
in use. If using streams then its recommended to enable stream caching. See
more details at http://camel.apache.org/stream-caching.html
2017-04-12 16:21:32,347 | INFO  | ExtenderThread-1 | OsgiSpringCamelContext     
     
| 159 - org.apache.camel.camel-core - 2.19.0.SNAPSHOT | Total 0 routes, of
which 0 are started.
2017-04-12 16:21:32,347 | INFO  | ExtenderThread-1 | OsgiSpringCamelContext     
     
| 159 - org.apache.camel.camel-core - 2.19.0.SNAPSHOT | Apache Camel
2.19.0-SNAPSHOT (CamelContext: camel-1) started in 0.037 seconds

I've just swapped the BundleAwareContext from spring-dm to gemini and some
minor changes in the pom.xml. 

If it's a good alternative, i can do some more extensive tests. 



--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-spring-dm-feature-incompatible-to-most-other-features-of-camel-2-18-3-tp5796032p5797523.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to