2 Replies Latest reply on Aug 20, 2010 9:20 AM by njiang

    Camel-Spring project

    cvancal

      I am having difficulty finding what I am missing in my camel project when I run it in OSGI.(apache-servicemix-4.2.0-fuse-02-00)  My project resolves and runs but does not do anything.  It is a simple Camel Spring project that takes a file from a folder and moves it to another folder.  It works in my ide, but when I move it to OSGI it does nothing.  I see the .camellock file get generated so I know the process is trying to grab the file that is out there in the directory to be picked up.  I am assuming I am missing an import-package in my manifest.mf, but unsure how to figure out which one I am missing if my bundle has resolved and has started.  Any suggestions on how to debug this?

       

      Edited by: cvancal on Aug 17, 2010 4:05 PM

       

      Edited by: cvancal on Aug 17, 2010 4:06 PM

        • 1. Re: Camel-Spring project
          cvancal

          I was using camel 2.3 which used camel-osgi.  I updated to camel 2.4 which the camel-spring module now supports OSGi out of box, which renders camel-osgi as @deprecated.

           

          I am back in business.

          • 2. Re: Camel-Spring project
            njiang

            Check the log file could help you find the key of the issue.

            BTW, from the you description, it looks like the Camel Context is not initialized with OSGi components rightly.