[ 
https://issues.apache.org/jira/browse/FELIX-5549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15936274#comment-15936274
 ] 

Alex Soto commented on FELIX-5549:
----------------------------------

I am sorry I missed the part about the conditions, and there, I think, lies the 
problem.  For me, the configuration _should_ be one of the conditions, same as 
the references.  For example, if I annotate the Worker component with 
"configurationPolicy = ConfigurationPolicy.REQUIRE", then the Component Factory 
service is not registered _until_ a configuration is created. Why is this? This 
behavior makes that the existence of the configuration a necessary condition, 
perhaps not explicitly listed as such, but in practice it behaves like one.

> Factory component fails to reactivate after config changes
> ----------------------------------------------------------
>
>                 Key: FELIX-5549
>                 URL: https://issues.apache.org/jira/browse/FELIX-5549
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>         Environment: Karaf 4.0.8
>            Reporter: Alex Soto
>
> A factory component fails to reactive after the configuration changes.  
> Initially, the component initializes normally.  After it is in Active state, 
> the configuration referenced by the component _configurationPid_  changes, 
> which causes the component to not activate again.
> A minimal application demonstrating this behavior is available here:
> https://github.com/lexsoto/blueprint-ds-config-reload



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to