Right you are. 
But in static configuration (servicemix.xml) if I use camelContext camel
tries to use oSGI components.
E.g.:

<camelContext xmlns="http://camel.apache.org/schema/spring";>
  <route>
    <from uri="jbi:endpoint:urn:test:camel:service:endpoint"/>
    <to uri="log:org.apache.servicemix.example?level=INFO"/>
  </route>
</camelContext>


Camel looks for the "jbi" component and finds it in
servicemix-camel-2010.01.jar/META-INF/services/org/apache/camel/component/jbi.
There is an org.apache.servicemix.camel.osgi.OsgiJbiComponent class

If I define "jbi" compenent mannualy 
        <bean id="jbi" class="org.apache.servicemix.camel.CamelJbiComponent" />
camel just ingnores it...



-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-in-ServiceMix3-static-configuration-tp3320736p3321173.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to