Hello everyone, I am migrating a existing server to an OSGi platform, using karaf, camel, and spring. I need to make two OSGi bundles communicate each other, and we previously used the camel vm component to make this exchange. After a little bit of research, I've seen the servicemix NMR is commonly used, but there is also some references to the vm component. So the question is can i still used the camel-vm to make my bundles communicate? I've seen http://fusesource.com/forums/thread.jspa?messageID=5987 , http://trenaman.blogspot.com/2010/08/easy-useful-nmr-monsieur-nodet-vous.html , but on none of this posts the question is clearly answered. Then i saw:
The vm:// component of camel plays the same role as NMR to interconnect camel routes deployed in different bundles. So the added value of NMR in this case is very poor/limited. I don't think that we need anymore NMR in the future except if we have features present in NMR that camel cannot implement. in http://servicemix.396122.n5.nabble.com/DISCUSS-ServiceMix-future-td3212177i40.html and then The VM wasn't really meant for osgi. It was for sharing messages between WAR files deployed in Apache Tomcat etc. In OSGi there are OSGi services and/or the NMR component for sharing messages between bundles. in http://camel.465427.n5.nabble.com/Question-on-VM-Endpoint-multipleConsumers-and-OSGi-td3284450.html#a3286168 So I'm getting a bit confused here, is it possible/advised to use the camel-vm component in a OSGi framework, or should I use NMR? Are there any advantages/disadvantages for either of them? I hope i didn't miss any obvious answer. Thank you, Regards, Gabriel -- View this message in context: http://camel.465427.n5.nabble.com/Camel-vm-and-nmr-in-a-OSGi-framework-tp4392206p4392206.html Sent from the Camel - Users mailing list archive at Nabble.com.
