Erlang/OTP Forums

Author Message

<  RabbitMQ mailing list  ~  RPC Client side timeout

0x6e6562
Posted: Wed Dec 05, 2007 7:32 am Reply with quote
User Joined: 12 Jul 2007 Posts: 250
Hi,

I was wondering what the best way is to do a client side time out when
waiting for the bottom half of an RPC.

When you send the top half you can specify an expiration property, but
I can't see how this gets processed on the server side (from looking
at the processing code). Furthermore this is a string value and I
haven't seen an example of it or an explanation in the spec.

On the client, one easy to way to do this would be just to add a get()
method on the blocking cell that passes in a timeout value, but I'm
not sure what should happen once it times out. Should the consume be
cancelled or should an appropriate property be set during the
initialization of the consume that indicates to the server that it
should clean unattended queues up after a while?

Thx,

Ben

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
View user's profile Send private message
0x6e6562
Posted: Tue Dec 11, 2007 10:29 pm Reply with quote
User Joined: 12 Jul 2007 Posts: 250
Hi,

To get around situations where an
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum