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

Emile Joubert emile at rabbitmq.com
Mon Mar 28 23:11:28 BST 2011


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.



More information about the rabbitmq-discuss mailing list