camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nivetha Shri <>
Subject RMI Component in camel
Date Tue, 17 Feb 2009 10:33:47 GMT
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..

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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message