Hi Juan, You can create a CXF like OSGi bundle using jxws:endpoint with a address type nmr:MyService.
With that, your OSGi bundle will be registered in the NMR and you can use it from others components. Regards -- Jean-Baptiste Onofré [EMAIL PROTECTED] BuildProcess/AutoDeploy Project Leader http://buildprocess.sourceforge.net On Mon 03/11/08 14:59, Juan F. Valdés [EMAIL PROTECTED] wrote: Hi Gert, First of all, thank you so much for helping me. Now I have a better understanding of NMR. Gert Vanthienen wrote: > > > If you register an endpoint for your service in the NMR, you can access > it from you camel orchestration bundle. The camel-nmr shows you how > different Camel routes can communicate over the NMR, but you can connect > anything there. A service that has an endpoint registered on the NMR, > is not necessarily available for remote calls. > But, how can I register an endpoint for my OSGi service? I mean, in camel-nmr example "nmr:ExampleRouter" endpoint is implicitly created by NMR Component, but i need to link a NMR endpoint with my service, a simple HelloWorld OSGi service: class="com.santalucia.esb.primer.osgi.HolaMundoOSGiImpl"> Hola Mundo OSGi I could use http://fusesource.com/docs/esb/4.0/fsf_se/ESBFSFSEDeployService.html [1] EndpointExporter to expose the bundle as a JBI Service Unit, and use the JBI endpoint in the orchestration bundle through NMR, but I think there is a simpler way (without JBI) to do it, it is possible? I had thought camel log component used the NMR-OSGi linking i was looking for but I realized it's a native Camel component Cheers, Juan -- View this message in context: http://www.nabble.com/Can-I-route-OSGi-calls-in-SMX4--tp20262134p20303228.html [2] Sent from the ServiceMix - User mailing list archive at Nabble.com. Links: ------ [1] http://fusesource.com/docs/esb/4.0/fsf_se/ESBFSFSEDeployService.html [2] http://www.nabble.com/Can-I-route-OSGi-calls-in-SMX4--tp20262134p20303228.html