[
https://issues.apache.org/jira/browse/SMX4NMR-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992380#comment-12992380
]
Geert Schuring commented on SMX4NMR-195:
----------------------------------------
I agree. We should not ignore the fact that the NMR runs in an OSGi
environment. If the connectionFactory leaves, so should the ClusterEngine. I'm
not very happy with the blueprint container blocking until a service becomes
available. We should set the timeout very short to make sure only very short
periods between a service restart are covered. When a required service is gone,
the cluster engine should receive an exception, or shutdown completely.
> Dynamically enable/disable cluster engine when ConnectionFactory available in
> registry
> --------------------------------------------------------------------------------------
>
> Key: SMX4NMR-195
> URL: https://issues.apache.org/jira/browse/SMX4NMR-195
> Project: ServiceMix NMR
> Issue Type: Improvement
> Affects Versions: 1.2.0
> Reporter: Gert Vanthienen
> Fix For: 1.4.0
>
>
> Currently, the Cluster engine is configured with a Blueprint proxy to the
> ConnectionFactory that's available in the OSGi Service Registry. This way,
> the Cluster Engine isn't aware of changes in the registry (e.g. the
> ConnectionFactory is being removed or a new one is registered).
> We should improve the engine to dynamically enable/disable clustering
> depending on the availability of a suitable ConnectionFactory.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira