[
https://issues.apache.org/jira/browse/KARAF-3151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14160776#comment-14160776
]
Jean-Baptiste Onofré commented on KARAF-3151:
---------------------------------------------
After downgrading to Aries blueprint-cm 1.0.3, it works fine.
The regression seems to have been introduced by:
https://github.com/apache/aries/commit/422ba764e04debc9fe197492d5e54b428ef9890d#diff-bbe5c23cdf8f6a0438851e861b3d8704
> Blueprint managed-properties doesn't call the update-method
> -----------------------------------------------------------
>
> Key: KARAF-3151
> URL: https://issues.apache.org/jira/browse/KARAF-3151
> Project: Karaf
> Issue Type: Bug
> Components: karaf-core
> Affects Versions: 3.0.2
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Blocker
> Fix For: 3.0.2
>
>
> When defining a bean in blueprint descriptor like this:
> {code}
> <bean id="myBean" class="..." scope="singleton" destroy-method="destroy">
> <cm:managed-properties persistent-id="my.config.id"
> update-strategy="component-managed" update-method="updateOrInit"/>
> </bean>
> {code}
> when the etc/my.config.id.cfg file is modified (for instance changing a
> property), the bean is not called.
> It seems to work fine with Karaf 3.0.1, but not in 3.0.2-SNAPSHOT. I'm
> retesting in 3.0.2-SNAPSHOT and 4.0.0-SNAPSHOT (I'm suspecting a change in
> Aries Blueprint).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)