<div dir="ltr"><div>Do you have a solution that lets me use an interface in the client? </div><div>I think I found the JSonRpcClient to be the closest </div><br><div class="gmail_quote">On Wed, Mar 23, 2011 at 11:37 AM, Emile Joubert <span dir="ltr"><<a href="mailto:emile@rabbitmq.com">emile@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<div><div></div><div class="h5"><br>
<br>
On 23/03/11 08:48, mysurf mail wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I would like to implement an rpc with rabbitmq.<br>
As with other rpc frameworks I would like to use an interface (skeleton)<br>
in the client and an interface with implementor on the server .<br>
Then I would be able to call the remote methods like they were in my<br>
local client.<br>
<br>
so far I see RpcClient.stringCall which I will need to parse the string<br>
request myself.<br>
<br>
Is there any implementation as i described ?<br>
</blockquote>
<br></div></div>
I assume you want a Java solution - RpcClient and RpcServer comes closest to what you need. It should be possible to extend those to work as you describe though.<br>
<br>
The .net client comes with a WCF two-way implementation that defines interfaces for messages in the way you describe. See the TwoWayTest calculator example.<br>
<br>
Regards<br><font color="#888888">
<br>
Emile<br>
</font></blockquote></div><br></div>