Questions tagged [apache-felix]

Apache Felix is a community effort to implement the OSGi R4 Service Platform and other interesting OSGi-related technologies under the Apache license.

Apache Felix is a community effort to implement the OSGi R4 Service Platform and other interesting OSGi-related technologies under the Apache license. The OSGi specifications originally targeted embedded devices and home services gateways, but they are ideally suited for any project interested in the principles of modularity, component-orientation, and/or service-orientation. OSGi technology combines aspects of these aforementioned principles to define a dynamic service deployment framework that is amenable to remote management.

Subprojects:

The Felix project is organized into subprojects, where each subproject targets a specific OSGi specification or OSGi-related technology; the following list summarizes each released subproject:

  • Config Admin - An implementation of the OSGi Configuration Admin service specification for managing bundle configuration properties.
  • Dependency Manager - An API-based component model to simplify OSGi-based development.
  • Event Admin - An implementation of the OSGi Event Admin service specification for event-based communication.
  • File Install - A simple, directory-based management agent for managing bundle deployment.
  • Framework - An implementation of the OSGi R4.2 core framework.
  • Gogo - An advanced shell for interacting with OSGi frameworks.
  • HTTP Service - An implementation of the OSGi HTTP Service specification.
  • iPOJO - A sophisticated service-oriented component model to simplify OSGi-based development.
  • Log - A simple, memory-based implementation of the OSGi Log service specification.
  • Maven Bundle Plugin - A Maven plugin to simplify building bundles.
  • Maven SCR Plugin - A Maven plugin to simplify using Declarative Services.
  • Metatype - An implementation of the OSGi Metatype service to describe types needed by bundles.
  • OSGi Bundle Repository - A bundle repository service to simplify discovering and deploying bundles and their dependencies.
  • Preferences - An implementation of the OSGi Preferences service specification for storing settings and preferences.
  • Remote Shell - A remote, text-based interface to the Apache Felix Shell.
  • Service Component Runtime - An implementation of the OSGi Declarative Services specification providing a service-oriented component model to simplify OSGi-based development.
  • Shell - A very simple shell service implemented as a bundle for interacting with an OSGi framework instance.
  • Shell TUI - A simple, text-based interface to the Apache Felix Shell.
  • UPnP - An implementation of the OSGi UPnP Device service specification for UPnP device integration.
  • Web Console - A simple tool to inspect and manage OSGi framework instances using your favorite Web Browser.

Official Website: http://felix.apache.org/

Useful Links:

921 questions
0
votes
1 answer

Felix OSGi Servlet/Resource Filter does not filter

I am trying to filter the web resources of the Jetty HTTP server inside OSGi Apache-Felix. I've registered a filter as a OSGi component in the Framework: @Component(property = { "osgi.http.whiteboard.filter.name=MyFilter", …
albi9
  • 13
  • 4
0
votes
2 answers

Pass runtime parameters to service in OSGi felix scr annotations

I am working on a OSGi application(with felix scr annotations) which exposes a service. The Service registers with external api's by passing String values. listener.addSchemaChangeListener(new ChangeListener() { @Override public void…
Shriram
  • 4,343
  • 8
  • 37
  • 64
0
votes
1 answer

maven-bundle-plugin duplicate bundle with different version

Plugin version: 3.3.0 I am wondering how maven-bundle-plugin resolves the version from duplicated Export-Packages bundle, the following is from mvn -X debug output and seems like the plugin is using the version from the first bundle…
yswai1986
  • 263
  • 2
  • 8
0
votes
1 answer

Artifacts with jar packaging which could be become bundles too accordind to some profile

I would like to ask you some hints about the proper way to configure maven in the following scenario: I have some artifacts which are currently packaged as jar, but they have maven-bundle-plugin too because I want them become OSGI bundles,…
Gamby
  • 585
  • 1
  • 6
  • 22
0
votes
0 answers

How to find who needs unresolved Imported Packages?

I'm striving to make work an osgi solution where it wasn't followed the "bundle approach", so any dependencies was embedded, some "random" packages was imported, and it was used: * So there is a bit of…
Gamby
  • 585
  • 1
  • 6
  • 22
0
votes
1 answer

Error starting bundle in karaf: "via two dependency chains"

I am currenty developing a camel route which reads from a netty4/mllp endpoint and store the hl7 message to a amqp queue. This is my environment: apache-maven-3.3.9 apache-karaf-4.1.1 apache-camel-2.18.3 apache-artemis-2.0.0 this is my…
usuario
  • 2,132
  • 1
  • 10
  • 26
0
votes
1 answer

OSGi with Maven bundle plugin not loading library

I´m working on a big application and we use Mavem bundle plug in in our proxy to make it small! I´m having problems importing some needed library for handling some kind of images (jpeg2000 and jbig2) needed by PDFbox. Here is my pom (part of…
PcS
  • 38
  • 8
0
votes
1 answer

package does not exsist in Apache Felix OSGI

I have been trying out some examples with apache felix and osgi. I made service (Service provider) interface and implemented it. After that I manage to create a jar file with the relevant information provided through a manifest file. Next I need to…
Madushika Perera
  • 402
  • 2
  • 5
  • 13
0
votes
2 answers

@Reference("(service.label=TESTCALL)") Felix SCR annotation error

am trying to implement an OSGI service which can serve me as ConfigurationFactory the service implementation has just two properties as shown below. @Property(value="this is service variable property value") static final String MY_SERVICE_VARIABLE…
krish
  • 469
  • 1
  • 15
  • 34
0
votes
1 answer

How to use maven-shade and felix to generate a shaded jar with a new manifest

I'm currently working on a project that is attempting to integrate use both shade and felix. The goal is to create a shaded jar that contains only the code we need, then use felix to create the manifest we need. The build part of my pom is as…
Neal
  • 127
  • 1
  • 2
  • 9
0
votes
0 answers

How to keep n osgi bundle listening to the mqtt broker

I was able to bundle the ActiveMQ and push it into the Apache Felix context. But I faced an issue once started playing with it: Here is the scenario : I created the ActiveMQ bundle inside Apache Felix, I run it and it listens to the needed port. I…
0
votes
1 answer

Alternate to Sling JSP recompile for Sightly/HTL?

Is there any alternate feature similar to sling JSP recompile button in OSGI Felix console for HTL/Sightly components code refresh.? http://host:port/system/console/slingjsp
krish
  • 469
  • 1
  • 15
  • 34
0
votes
1 answer

In Apache Felix osgi container I never see my custom command

I'm new to OSGI and I started with the enRoute Base Turorial. I exported the provider project into a jar and wanted to deploy it into concierge/felix in both I was able to manage the lifecycle of the bundle (install/start/stop..) the issue is that…
0
votes
1 answer

More than one bundle started with apache felix config.properties

I've taken the example from http://maksim.sorokin.dk/it/2011/07/19/maven-apache-felix-easy-development-and-debugging-with-eclipse/ and I wanted to extend it adding another…
9ilsdx 9rvj 0lo
  • 7,955
  • 10
  • 38
  • 77
0
votes
1 answer

How to use Jersey in Sling?

I've got Sling 8. I then include Jersey and this Jersey connector in my build: https://github.com/hstaudacher/osgi-jax-rs-connector My next step should be simply write a Jersey Service and test it, but I'm getting this Exception…
lance.dolan
  • 3,493
  • 27
  • 36