Details
-
Bug
-
Resolution: Done
-
Major
-
fuse-esb-7.0.0
-
None
-
None
-
%
Description
I have the following blueprint.xml
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0" xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0" default-activation="lazy"> <bean id="nmrEndpointListener" class="com.fusesource.NMREndpointListener"/> <service ref="nmrEndpointListener"> <interfaces> <value>org.apache.servicemix.nmr.api.event.ExchangeListener</value> <value>org.apache.servicemix.nmr.api.event.Listener</value> </interfaces> </service> </blueprint>
Note: there is a mistake in that ..
Notice that I made a mistake:
<value>org.apache.servicemix.nmr.api.event.ExchangeListener</value>
it should be:
<value>org.apache.servicemix.nmr.api.event.EndpointListener</value>
Despite the mistake and invalid interface its possible to deploy the service.. Blueprint should catch this and throw an error..