Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change allow to configure the behavior of rpc publisher when rabbitmq is down. 3 policies are available: - default: wait until it comes back if rabbit_max_retries <= 0 raise a exception if rabbit_max_retries > 0 - drop: don't publish the samples - queue: create a local queue of 'max_queue_length' samples Configuration of the policy is done via the publisher url example: rpc://?policy=queue&max_queue_length=100 Change-Id: I41c9be9e1c760db1155711325434a1877e6dd7b2 Fixes: bug#1192918 bug#1189488
- Loading branch information
Mehdi Abaakouk
committed
Jul 17, 2013
1 parent
77e59eb
commit 3f044dd
Showing
2 changed files
with
199 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters