[rabbitmq-discuss] How to define a timeout on jsonRpcClient calls

Jerry Kuch jerryk at vmware.com
Mon Mar 28 23:25:05 BST 2011

Ah, sorry I didn't get to this earlier.  Emile's exactly right, and the bug/work item I mentioned earlier is to make just the change he describes in the client.  It's from last November but I'm not sure if we've decided to do it just yet or not...  

Sent from my iPhone (Brevity and typos are hopefully the result of 1-fingered typing rather than rudeness or illiteracy).

On Mar 28, 2011, at 3:12 PM, "Emile Joubert" <emile at rabbitmq.com> wrote:

> Hi,
> Op 27/03/2011 17:32, het mysurf mail geskryf:
>> How do I define a timeout for procedures using  jsonRpcClient calls
> The present RPC implementation does not feature a timeout. If you want 
> to experiment with a timeout then you can try to modify the 2-argument 
> version of RpcClient.primitiveCall to use 
> BlockingCell.uninterruptibleGet with a timeout. You will also need to 
> add appropriate exception handling.
> Regards
> Emile
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

More information about the rabbitmq-discuss mailing list