Skip to main content
maximilian_queh
Level 2
Oct 16, 2015 2:26 AM UTC
Solved

AEM OSGi Bundle with settings

Hi,

it is maybe a stupied question but I can't not find something concerning this.

My question would be if there is a tutorial how to create an OSGi Bundle which can be configured over http://Host:Port/system/console/configMgr (e.g. Allow Empty for Apache Sling Referrer Filter)

Is there a tutorial how to expose some variables of OSGi Bundles (over MANIFEST.MF or Annotations - i don't know)

Thanks a lot!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:26 AM UTC

Configuring an OSGi bundle all depends on what the bundle is. A bundle may or may not require configuration - depending on what it does. A bundle that contains a DataSourcePool for example requires configuration using the Felix console: 

http://localhost:4502/system/console/configMgr

see this community article:

http://helpx.adobe.com/experience-manager/using/datasourcepool.html

Not all OSGi bundles require configuration. 

2 replies

Lokesh_Shivalingaiah
Level 10
Oct 16, 2015 2:26 AM UTC

You can also look at this [1] http://adobeaemclub.com/osgi-configuration-management-aem/

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:26 AM UTC

Configuring an OSGi bundle all depends on what the bundle is. A bundle may or may not require configuration - depending on what it does. A bundle that contains a DataSourcePool for example requires configuration using the Felix console: 

http://localhost:4502/system/console/configMgr

see this community article:

http://helpx.adobe.com/experience-manager/using/datasourcepool.html

Not all OSGi bundles require configuration. 

Translate