Andrea Zoppello wrote:
Hi,

I've take briefly a look at the new servicemix, and i've take a look at the new NMR
api that i found very well designed.

BTW i still miss some points.

1) I see the class Servicemix is the class tha implement the NRM, but i've still not understant
if ( and if so in which bundle ) is it registered as an OSGi service????
the nmr osgi service get registered by org.apache.servicemix.nmr.osgi bundle
http://svn.apache.org/repos/asf/servicemix/smx4/nmr/trunk/nmr/osgi/src/main/resources/META-INF/spring/servicemix-nmr.xml

2) I do not understand very well how to expose an enpoint to the nmr??? Should i write an osgi bundle and register myself a service???

3) Is it possible to use OSGi declarative services to implement an OSGi service that use the OSGi nmr bus??
take a look at the nmr example with servicemix nmr 1.0.0 kit, nmr/endpoint is a bundle register nmr endpoint, nmr/client is a bundle to use the nmr api to invoke the nmr/endpoint, I believe it's exactly what you want
Freeman


I want to implements two endpooint A and B, and use the nmr to send an InOut Exchange from A to B. Is there any examples about that??
Is this possible??

Andrea





Reply via email to