Expand my Community achievements bar.

SOLVED

AEM OSGi Bundle with settings

Avatar

Level 2

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!

1 Accepted Solution

Avatar

Correct answer by
Level 10

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. 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

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.