Yes, I have the component with the @Activate

@Component(name = "transportService", immediate = true)
@Activate
public void preStart() {

}

@Deactivate
protected void preDestroy() throws Exception {

}

osgi.bnd
Import-Package: \
        *
    

And pom.xml
<plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <version>3.0.0</version>
        <extensions>true</extensions>
        <configuration>
          <instructions>
          <_include>osgi.bnd</_include>
           </instructions>
        </configuration>
</plugin>


As mentioned, there's nothing special about this bundle. It's running
perfectly on 4.1.5
Is there anything I need to activate.





--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html

Reply via email to