Hi All Can someone tell me how to use RMI component in Camel? It is given tat we can hit the rmi service as follows.. from(inputEndPoint).to("rmi://localhost:1099/foo")
I have bound the service as follows MyImpl obj = new MyImpl (); Naming.rebind("//localhost:1099/foo", obj); Usually, in a normal client we will invoke the rmi service as follows Hello obj = (Hello)Naming.lookup("//localhost:1099/foo"); message = obj.myMethod(); i.e., we would get the object from the bindings and then invoke the methods that we do need. How can we achieve the same from camel? Any pointers to articles on this? Any help would be of great use. Thanks and Regards Nivi