[
https://issues.apache.org/jira/browse/KARAF-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré updated KARAF-1414:
----------------------------------------
Fix Version/s: cellar-2.3.0
> Add persistence for handler/producer/consumer status
> ----------------------------------------------------
>
> Key: KARAF-1414
> URL: https://issues.apache.org/jira/browse/KARAF-1414
> Project: Karaf
> Issue Type: New Feature
> Components: cellar-core
> Affects Versions: cellar-2.2.3
> Environment: Karaf-2.2.7-SNAPSHOT from 20120426
> Reporter: Xiaoli Ding
> Assignee: Jean-Baptiste Onofré
> Fix For: cellar-3.0.0, cellar-2.2.5, cellar-2.3.0
>
>
> - Start Karaf and install cellar
> - there are one node in default group
> - stop one event handler by 'cluster:handler-stop'
> {panel}
> karaf@trun> cluster:handler-stop
> org.apache.karaf.cellar.features.FeaturesEventHandler
> Node Status Event Handler
> xlding:5701 ON
> org.apache.karaf.cellar.config.ConfigurationEventHandler
> xlding:5701 ON
> org.apache.karaf.cellar.dosgi.RemoteServiceCallHandler
> xlding:5701 ON org.apache.karaf.cellar.bundle.BundleEventHandler
> xlding:5701 OFF
> org.apache.karaf.cellar.features.FeaturesEventHandler
> {panel}
> - check the status of the stoped handler,the status is 'off' as expexted
> {panel}
> karaf@trun> cluster:handler-status
> Node Status Event Handler
> xlding:5701 ON
> org.apache.karaf.cellar.config.ConfigurationEventHandler
> xlding:5701 ON
> org.apache.karaf.cellar.dosgi.RemoteServiceCallHandler
> xlding:5701 ON org.apache.karaf.cellar.bundle.BundleEventHandler
> xlding:5701 OFF
> org.apache.karaf.cellar.features.FeaturesEventHandler
> {panel}
> - but after restart the karaf ,then check the event handler status:
> {panel}
> karaf@trun> cluster:handler-status
> Node Status Event Handler
> xlding:5701 ON
> org.apache.karaf.cellar.config.ConfigurationEventHandler
> xlding:5701 ON
> org.apache.karaf.cellar.dosgi.RemoteServiceCallHandler
> xlding:5701 ON org.apache.karaf.cellar.bundle.BundleEventHandler
> xlding:5701 ON
> org.apache.karaf.cellar.features.FeaturesEventHandler
> {panel}
> the status is 'on',should be 'off'.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira