Osgi configuration service pid property | Community
Skip to main content
Level 3
September 25, 2018

Osgi configuration service pid property

  • September 25, 2018
  • 2 replies
  • 3200 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

smacdonald2008
Level 10
September 27, 2018

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

arunpatidar
Community Advisor
Community Advisor
September 27, 2018

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 Sling

Arun Patidar
sr508Author
Level 3
September 27, 2018

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

smacdonald2008
Level 10
September 27, 2018

It does appear to be related.