Tuesday, 2 January 2018

Reading OSGi Configuration Values for Adobe Experience Manager 6.3

Summary

Discusses how to create an Adobe Experience Manager OSGi bundle that reads configuration values. This article uses Declarative Services Annotations

You can define OSGi configuration values by using CRXDE lite and dynamically read these values from within an OSGi service. By defining configuration values, you can define values used by an OSGi service and use these values while the service is running. Unlike hard-coding values in an AEM OSGi service, defining values in the AEM configuration user interface (http://localhost:4502/system/console/configMgr) lets you change values without re-compiling the bundle.



Join the Experience League

To become an Experience Business, you need more than just great tools and online help. You need a partner. Experience League is a new enablement program with guided learning to help you get the most out of Adobe Experience Cloud. With training materials, one-to-one expert support, and a thriving community of fellow professionals, Experience League is a comprehensive program designed to help you become your best.

Join the Adobe Experience League by clicking this banner.




I (Scott Macdonald) am a Senior Experience League Community Manager at Adobe Systems with 20 years in the high tech industry. I am also a programmer with knowledge in Java, JavaScript, C#,C++, HTML, XML and ActionScript. If  you would like to see more AEM or other end to end articles like this, then leave a comment and let me know what content you would like to see.


Twitter: Follow the Digital Marketing Customer Care team on Twitter @AdobeExpCare.


3 comments:

  1. Hi Scott,

    I was following the same way but my service configuration i.e MySimpleConfiguration is not getting active . It is not in active state. Best regards, Satish

    ReplyDelete
    Replies
    1. Send me an email - scottm@adobe.com - I will help you get this working.

      Delete