Guillaume Nodet commented on ARIES-1627:

Also, in this very case, the call to getServiceIds() can already be disabled by 
using the attributeChangeNotificationEnabled=false configuration.

> Give ability to disable JMX notifications generation in case of OSGi service 
> changes
> ------------------------------------------------------------------------------------
>                 Key: ARIES-1627
>                 URL: https://issues.apache.org/jira/browse/ARIES-1627
>             Project: Aries
>          Issue Type: Improvement
>          Components: JMX
>    Affects Versions: jmx-1.1.5
>            Reporter: Dmitry Konstantinov
>              Labels: performance
>         Attachments: ARIES-1627.patch
> Aries JMX generates JMX notifications for all OSGi service changes events: 
> * During a startup a lot of OSGi services are published. 
> * Generation of JMX notifications takes some time (it can take about 0.7-1 
> seconds total on some live Karaf instances), getServiceIds retrieves each 
> time all service references and so on.
> * these JMX notifications frequently are not needed
> It would be useful to have a configuration option to disable JMX 
> notifications for OSGi service changes  (it can be an Config Admin option in 
> org.apache.aries.jmx.framework.StateConfig)

This message was sent by Atlassian JIRA

Reply via email to