2 Replies Latest reply on Feb 9, 2010 2:48 PM by pchandler

    apache-servicemix-4.1.0-psc-01-00RC1 & Spring DM & Camel.

    pchandler

      Is Spring DM started by default in apache-servicemix-4.1.0-psc-01-00RC1? Or do I need to install additional features/bundles? I do not see any bundle named "spring-dm" active?

       

      Such as in (reference : http://camel.apache.org/tutorial-osgi-camel-part1.html):

      1. Add camel feature file
      
      karaf@root> features:addUrl mvn:org.apache.camel.karaf/features/2.0.0/xml/features
      
      This new feature file contains the list of camel bundles to be installed. This will avoid that you install each required bundle (= jar) separately though the command osgi:install
      
      2. Install bundles using feature command
      
      karaf@root> features:install spring
      karaf@root> features:install spring-dm
      karaf@root> features:install camel-core
      karaf@root> features:install camel-spring
      karaf@root> features:install camel-osgi
      

       

      Thanks,

       

      Peter.

        • 1. Re: apache-servicemix-4.1.0-psc-01-00RC1 & Spring DM & Camel.
          pchandler

          Short answer: Spring DM appears to be installed and running by default in apache-servicemix-4.1.0-psc-01-00RC1

           

          Long answer:

          1. I created a project using:

           mvn -e -X archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling -DarchetypeArtifactId=servicemix-osgi-camel-archetype -DarchetypeVersion=2008.01.0.3 
          

           

          2. I built the project and file: src/main/resources/META-INF/spring/camel-context.xml was created.

           

          3. I installed and started spring bundle in servicemix-4.1.0-psc-01-00RC1

          • 2. Re: apache-servicemix-4.1.0-psc-01-00RC1 & Spring DM & Camel.
            pchandler

            Answered, Note: Spring DM is started as a osgi feature (features:list):

            spring-dm                            karaf-1.2.0-psc-01-00RC1