oslo.messaging/oslo/messaging
Mehdi Abaakouk 948c05417c Add transport reconnection retries
When a rpc client try to make a RPC call and the server is unreachable
The rpc call hang until the server come back.

In most case this is the desired behavior.

But sometimes, we can prefer that the library raise an exception after a
certain number of retries.

For example in ceilometer, when publishing a
storage.objects.incoming.bytes sample from the Swift middleware to an
AMQP topic, you might not want to block the Swift client if the AMQP broker
is unavailable - instead, you might have a queueing policy whereby
if a single reconection attempt fails we queue the sample in memory and
try again when another sample is to be published.

This patch is the oslo.messaging part that allow this.

Closes bug #1282639
Co-Authored-By: Ala Rezmerita <ala.rezmerita@cloudwatt.com>

Change-Id: I32086d0abf141c368343bf225d4b021da496c020
2014-06-13 16:21:59 +02:00
..
_cmd Remove vim header 2014-03-18 05:51:12 +00:00
_drivers Add transport reconnection retries 2014-06-13 16:21:59 +02:00
_executors Fixed inconsistent EventletContextManagerSpawnTest failures 2014-03-28 14:55:10 +01:00
notify debug level logs should not be translated 2014-05-20 22:57:36 +02:00
openstack Merge "Remove dependent module py3kcompat" 2014-05-02 18:52:37 +00:00
rpc Add transport reconnection retries 2014-06-13 16:21:59 +02:00
__init__.py Remove ConfFixture from toplevel public API 2013-08-17 17:49:23 +01:00
_utils.py Add third element to RPC versions for backports 2013-10-14 11:24:57 +00:00
conffixture.py Use messaging_conf fixture configuration by default 2014-03-25 10:45:08 +01:00
exceptions.py Add transport reconnection retries 2014-06-13 16:21:59 +02:00
localcontext.py Fix some typos and adjust capitalization 2013-11-03 07:07:51 -08:00
opts.py Removes unused config option 2014-06-11 11:13:09 +02:00
serializer.py Apply six for metaclass 2013-10-14 14:10:31 -04:00
server.py Make the dispatcher responsible to listen() 2014-01-30 13:40:42 +01:00
target.py Use a for loop to set the defaults for __call__ params 2014-04-09 17:34:08 -07:00
transport.py Add transport reconnection retries 2014-06-13 16:21:59 +02:00