ceelian / callme

callme is a python amqp rpc module
BSD 3-Clause "New" or "Revised" License
27 stars 9 forks source link

Add "ServerNotFoundError" Exception #1

Closed ceelian closed 10 years ago

ceelian commented 13 years ago

Add "ServerNotFoundError" Exception when you try an RPC call where no Exchange is defined on the broker.

skudriashev commented 10 years ago

Christian, wouldn't it be better to set proxy timeout to >0 and to declare destination exchange in any case? If nobody answered from the remote side - the Timeout exception will be raised and this is fine. This might be advantage when server is started after request is made, but before request expired, so remote call will be executed. Your thoughts?

Thanks!

skudriashev commented 10 years ago

Christian, any thoughts?

ceelian commented 10 years ago

Sounds good.

skudriashev commented 10 years ago

Fix committed.