2 Replies Latest reply on Feb 26, 2009 9:27 AM by Willem Jiang

    camel-osgi vs camel

    Charles Moulliard Newbie



      I see that in one of the example proposed in Fuse ESB folder, the spring DSL has been defined using schema camel-osgi and not camel




             http://activemq.apache.org/camel/schema/osgi http://activemq.apache.org/camel/schema/osgi/camel-osgi.xsd

             http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">



                  <to uri="nmr:HelloWorldImplPort"/>



      What are the advantages of camel-osgi over camel ? Is it used to handle camel context lifecycle through OSGI server ?




      Charles Moulliard

      SOA Architect


        • 1. Re: camel-osgi vs camel
          Torsten Mielke Apprentice



          The new camel-osgi schema definition currently only defines its own camelContext:


          <xs:element name="camelContext" type="tns:camelContextFactoryBean"/>
            <xs:complexType name="camelContextFactoryBean">
                <xs:extension base="camel:camelContextFactoryBean">


          This is to allow registration of an OSGI version of CamelContextFactoryBean with the OSGI target name space.

          • 2. Re: camel-osgi vs camel
            Willem Jiang Master

            Hi Charles,


            Since there are lots of difference of class and resource finding between OSGI and normal class path. The resource utils of camel can't work rightly in the OSGI environment.  You may get the component not found complain even you install the relates component feature if you are using the camel context directly.


            So we add the camel-osgi model to resolve this kind of problem