Tuesday 11 April 2017

AEM Component is in satisfied state, not in active

Some times we face OSGI component is in active state when the component is installed for the first time. When we modify the component from configMgr, component state changes to satisfied.

To avoid this and make the component in active state add the annotation @Activate to the activate method. This helps in changing the component state to Active whenever the component is modified.

1 comment :

  1. Actuatually activate annotation not meant for that. Active method will call whenever component modified is correct.

    Is there a way to get cause for component in satisfied state

    ReplyDelete