Dis­cuss­es how to cre­ate an Adobe Expe­ri­ence Man­ag­er OSGi bun­dle that reads con­fig­u­ra­tion val­ues. This arti­cle uses Declar­a­tive Ser­vices Anno­ta­tions.


You can define OSGi con­fig­u­ra­tion val­ues by using CRXDE lite and dynam­i­cal­ly read these val­ues from with­in an OSGi ser­vice. By defin­ing con­fig­u­ra­tion val­ues, you can define val­ues used by an OSGi ser­vice and use these val­ues while the ser­vice is run­ning. Unlike hard-cod­ing val­ues in an AEM OSGi ser­vice, defin­ing val­ues in the AEM con­fig­u­ra­tion user inter­face (http://localhost:4502/system/console/configMgr) lets you change val­ues with­out re-com­pil­ing the bun­dle.

To read this arti­cle, click https://​helpx​.adobe​.com/​e​x​p​e​r​i​e​n​c​e​-​m​a​n​a​g​e​r​/​u​s​i​n​g​/​o​s​g​i​_​c​o​n​f​i​g​6​3​.​h​tml.