[
https://issues.apache.org/activemq/browse/SMX4NMR-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54264#action_54264
]
Eoghan Glynn commented on SMX4NMR-140:
--------------------------------------
Hi Freeman,
The commons-management bundle just contains the API, i.e. the
ManagementStrategy interface, but not a usable implementation.
Instead the implementation is provided by the
org.apache.servicemix.nmr.management bundle, which exposes this in the OSGi
service registry, from where its picked up by the JBI deployer bundle and
others.
Originally this all worked via Spring-DM, i.e. the nmr.management bundle
exposed the ManagementStrategy reference in the OSGI service registry via an
<osgi:service> element in its META-INF/spring/servicemix-nmr-management.xml
which was then picked via an <osgi:reference> element in the other bundle
configs that needed this service.
Since then we've switched over to blueprint, so now the
OSGI-INF/blueprint/servicemix-nmr-management.xml looks like it does something
similar with the corresponding blueprint <service> element. So I'd suspect if
this is causing an issue in the integration tests, the problem is around the
blueprint usage.
BTW I just kicked off the tests and I'm seeing a seeming unrelated failure:
java.lang.RuntimeException: URL
[mvn:org.apache.felix.karaf.jaas/org.apache.felix.karaf.jaas.boot/0.9.0-20090911.154242-10]
could not be resolved.
Cheers,
Eoghan
> Refactor management infrastructure to eliminate duplication and allow for
> easier pluggability
> ---------------------------------------------------------------------------------------------
>
> Key: SMX4NMR-140
> URL: https://issues.apache.org/activemq/browse/SMX4NMR-140
> Project: ServiceMix NMR
> Issue Type: Task
> Affects Versions: 1.1.0
> Reporter: Eoghan Glynn
> Assignee: Chris Custine
> Fix For: 1.1.0
>
> Attachments: smx4_nmr_140.patch
>
>
> Refactor the management infrastructure so as to eliminante the duplication of
> multiple ManagementAgent/Contexts and replace with a single
> ManagementStrategy shared across the NMR and JBI layers, which is pluggable
> and hence convenient to replace with an alternative implementation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.