Its important to note which version of the products you are using. What SMX version? What JDK version? Is is it the first time you use SMX? Is it an upgrade?
If you are using SMX 4.x then you should install Camel applications, for example just drop a XML file in the deploy folder. I dont think you should alter the static servicemix.xml file. On Wed, Dec 29, 2010 at 12:03 PM, im-scooter <[email protected]> wrote: > > 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. > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
