1 Reply Latest reply on Feb 7, 2010 11:21 AM by mfatafta

    Configuration manager and OSGi

    mfatafta

      I have two versions of the same OSGi bundles, both are using the same configuration file name. How can I have two instance of these files, one used by earch version of my OSGi bundles?

      Can the configuration files be installed on ServiceMix using maven repository where the same name of the file will exist but with different version number?

      How can I load the same config file name but different version from ServiceMix

       

      This is using apache-servicemix-4.1.0-psc-01-00RC1

       

      Thanks

        • 1. Re: Configuration manager and OSGi
          mfatafta

          Can the persistent-id in the cm-properties be set using a bundle version or package name?

           

          like the following:

           

          <osgix:cm-properties id="my.server.defaults" persistent-id="${bundle.version}"/>

           

          if so, how and where ${bundle.version} be defined?