Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Osgi configuration service pid property

Avatar

Level 3

Hi,

I am currently working on aem6.4.

I have a osgi configuration , where I have a property service.pid and value with that class.

This property is not showing up in the configuration manager console.

Is this the expected behavior in aem6.4??

I have checked the same in aem6.2, it's showing up the service pid in the corresponding configuration in osgi console.

Thankss

4 Replies

Avatar

Level 10

After checking the AEM release notes - there is no discussion about a change here.

Avatar

Community Advisor

Can you share you code? Could be issue with code. With OSGI annotation, you can get property like service.pid by defining method with name service_pid

Official OSGi Declarative Services Annotations in AEM - Adobe Experience Manager | AEM/CQ | Apache S...



Arun Patidar

Avatar

Level 3

Thanks Scott and Arun,

I have the same code deployed in aem 6.2 and 6.4 ,

6.2 I am able to see the service.pid configuration for custom configuration.

But the see I am unable to see in 6.4.

I have seen a article where the configuration bindings are removed in 6.4 , is this some where related to the above issue?

OSGi component configurations missing binding in OSGi Console