Unable to use Runmode config from a Service using @OSGIService annotation
Hello,
I have a codebase in AEM6.5 that cannot read a OSGi config, using org.osgi.service.cm.ConfigurationAdmin api, when @OSGIService is used instead of @3214626.
I see that when annotated with @OSGIService, the reference object is not empty, but the Config is always returned as NULL, though they are confirmed to exist.
The same code works when used with @3214626 annotation & on other codebase the config values are read using "@OSGIService" inside a @Model class. Hence I am unable to connect these dots, so kindly enlight me to understand whats happening in the background.