Hi Freeman,
 Thanks and I could able to resolve that issue, but then my BC it's not
deploying.
And I tried to copy the content in similar lines as that of File BC, but
failed to get it right.
Then took File BC and renamed to servicemix-file1 and tried to deploy it to
see how osgi:headers look for both the components. Surprisingly the result
was not the same for both. Is there something that I am missing?

Snap of the original servicemix-file vs renamed one is as below

-----------------------------------------------------------------------
karaf@root> osgi:headers 160

Apache ServiceMix :: Components :: File Binding Component (160)
---------------------------------------------------------------
Karaf-Info = ServiceMix Components;servicemix-file=2011.01
Archiver-Version = Plexus Archiver
Specification-Title = Apache ServiceMix :: Components :: File Binding
Component
Tool = Bnd-0.0.357
Specification-Version = 2011.01
Specification-Vendor = The Apache Software Foundation
Implementation-Version = 2011.01
Build-Jdk = 1.6.0_21
Implementation-Vendor-Id = org.apache.servicemix
Created-By = 1.6.0_21 (Sun Microsystems Inc.)
Implementation-Title = Apache ServiceMix :: Components :: File Binding
Component
Manifest-Version = 1.0
Bnd-LastModified = 1296601567845
Built-By = onofreje
Implementation-Vendor = The Apache Software Foundation

Bundle-Vendor = The Apache Software Foundation
Bundle-Name = Apache ServiceMix :: Components :: File Binding Component
Bundle-DocURL = http://www.apache.org/
Bundle-Description = Provides JBI integration to the file system. It can be
used to read and write files via URI or to periodically poll directories for
new files.
Bundle-SymbolicName = servicemix-file
Bundle-Version = 2011.01.0
Bundle-License = http://www.apache.org/licenses/LICENSE-2.0.txt
Bundle-ManifestVersion = 2

Import-Service =
       
org.apache.servicemix.common.osgi.EndpointWrapper;availability:=optional,
        org.fusesource.commons.management.ManagementStrategy
Export-Service =
       
javax.jbi.component.Component;NAME=servicemix-file;TYPE=binding-component,
       
org.apache.aries.blueprint.NamespaceHandler;osgi.service.blueprint.namespace=http://servicemix.apache.org/file/1.0

DynamicImport-Package =
        javax.*,
        org.w3c.*,
        org.xml.*
Ignore-Package =
        org.apache.servicemix.file,
       
META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.file,
        org.apache.servicemix.file.comparator
Import-Package =
        javax.jbi;version=1.0,
        javax.jbi.component;version=1.0,
        javax.jbi.management;version=1.0,
        javax.jbi.messaging;version=1.0,
        javax.jbi.servicedesc;version=1.0,
        javax.management,
        javax.xml.namespace,
        org.apache.aries.blueprint,
        org.apache.commons.logging;version=1.1,
        org.apache.servicemix.common;version=2011.1,
        org.apache.servicemix.common.endpoints;version=2011.1,
        org.apache.servicemix.common.locks;version=2011.1,
        org.apache.servicemix.common.locks.impl;version=2011.1,
        org.apache.servicemix.common.osgi;version=2011.1,
        org.apache.servicemix.common.util;version=2011.1,
        org.apache.servicemix.components.util,
        org.apache.servicemix.executors,
        org.apache.servicemix.executors.impl,
        org.apache.servicemix.util,
        org.apache.xbean.blueprint.context.impl,
        org.apache.xbean.spring.context.v2;version=3.7,
        org.fusesource.commons.management,
        org.osgi.service.blueprint;version="[1.0.0,2.0.0)",
        org.springframework.beans.factory.xml;version=3.0,
        sun.misc;resolution:=optional
Export-Package =
        org.apache.servicemix.file;
                uses:="org.apache.servicemix.common.util,
                        javax.jbi.servicedesc,
                        org.apache.servicemix.common,
                        org.apache.commons.logging,
                        org.apache.servicemix.common.locks,
                        javax.jbi,
                        org.apache.servicemix.components.util,
                        javax.xml.namespace,
                        org.apache.servicemix.common.locks.impl,
                        org.apache.servicemix.util,
                        org.apache.servicemix.executors,
                        javax.jbi.messaging,
                        org.apache.servicemix.common.endpoints,
                        javax.jbi.management";
                version=2011.01,
        org.apache.servicemix.file.comparator;version=2011.01,
       
META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.file
Require-Bundle =
        org.springframework.core,
        org.springframework.beans,
        org.springframework.context

-----------------------------------------------------------------------
-----------------------------------------------------------------------
-----------------------------------------------------------------------

Bundle 207
----------
karaf@root> osgi:headers 206

Bundle 206
----------
Manifest-Version = 1.0
Archiver-Version = Plexus Archiver
Built-By = raakula
Build-Jdk = 1.6.0_24
Created-By = Apache Maven

Bundle-SymbolicName = servicemix-file1
Bundle-Version = 0.0.0

DynamicImport-Package =
        javax.*,
        org.xml.*,
        org.w3c.*


--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Migration-from-SMX3-3-2-to-SMX-4-3-tp4653956p4707219.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to