Hi All,
I'm sooo close. :-) Here is my code
/*
* It enables us to switch between iteamone corbaStubs and eagle camelProxys
*/
public Object getProxy(java.lang.Object impl, Class
interfaceToImplement){
CamelServiceExporter remoteExpt = new CamelServiceExporter ();
remoteExpt.setService(impl);
r
Correction: the last call should have been *getProxyForService*() instead
of getService().
On Mon, Nov 21, 2011 at 8:33 PM, Andrew Boyd wrote:
> Ok so with messaging we are de-coupled do the proxy can accept an endpoint:
>
> Echo service = ProxyHelper.createProxy(context.getEndpoint("direct:echo
Ok so with messaging we are de-coupled do the proxy can accept an endpoint:
Echo service = ProxyHelper.createProxy(context.getEndpoint("direct:echo"),
Echo.class);
I still need to pass around a reference to a particular Object. So I guess
my question should be how I generate an Exporter on the
Hi Claus,
In the links you provided it shows how to make a proxy for a particular
Class. I want to make a proxy for a particular Object.
I want to replace this:
RequestImpl br = (RequestImpl) tmpHolder.get(ndx); // <- br is the Impl
retList[ndx] = (RequestInterface) javax.rmi.PortableRemoteObj
Hi
Have you seen the user guide?
http://camel.apache.org/user-guide.html
It has a link to using camel proxy
http://camel.apache.org/using-camelproxy.html
On Fri, Nov 18, 2011 at 1:59 AM, KingAndrew wrote:
> Hi All,
> Currently my system is Corba/RMI-IIOP. We are using Camel to decouple the