[rabbitmq-discuss] How to define a timeout on jsonRpcClient calls
stammailbox at gmail.com
Mon Mar 28 13:32:27 BST 2011
thanks for the reply.
Regarding "Actually we have a bug out to let you set a timeout,"
I didn't quite understand. Does this means it is on your todo list?
Is there a plan for a patch?
the case I want to deal with is pretty common :
I have a JsonRpcServer and I want to deal with requests that linger in the
server for too long.
(Lets say a lock occurs on the server side). I would like to set a time out
so that an exception will occur on the client - and let me deal with it on
the client side.
Is there something like this?
Does this mean that this is on the todo list? and that
On Sun, Mar 27, 2011 at 10:36 PM, Jerry Kuch <jerryk at vmware.com> wrote:
> > > How do I define a timeout for procedures using jsonRpcClient calls
> > > <ATT00001..txt>
> Actually we have a bug out to let you set a timeout, at least for initial
> creation of a client and its connection to a server. I don't believe you
> can do it directly with how the interface the client currently exposes.
> I assume your issue is likely that you don't want your client hanging in
> its constructor if the server isn't started?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss