diff options
| author | Alan Conway <aconway@apache.org> | 2012-04-02 22:15:31 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-04-02 22:15:31 +0000 |
| commit | 0f747926548fb6ebaa52b6e463aec2916132671e (patch) | |
| tree | addac105bee0beb801e2a90794071f16c0f6879e /cpp/src/qpid/ha/HaPlugin.cpp | |
| parent | 212e544c4a10e6b54e081eb9ba2c9817c57ef356 (diff) | |
| download | qpid-python-0f747926548fb6ebaa52b6e463aec2916132671e.tar.gz | |
QPID-3603: Broker option --ha-replicate-default to specify default replication.
Takes values 'all', 'configuration', 'all'. This is the replication level to use
if a queue or exchange is created without an explicit 'qpid.replicate' argument.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1308597 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/ha/HaPlugin.cpp')
| -rw-r--r-- | cpp/src/qpid/ha/HaPlugin.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/qpid/ha/HaPlugin.cpp b/cpp/src/qpid/ha/HaPlugin.cpp index 6a43b591b0..419ee962da 100644 --- a/cpp/src/qpid/ha/HaPlugin.cpp +++ b/cpp/src/qpid/ha/HaPlugin.cpp @@ -37,6 +37,9 @@ struct Options : public qpid::Options { "URL that backup brokers use to connect and fail over.") ("ha-public-brokers", optValue(settings.clientUrl,"URL"), "URL that clients use to connect and fail over, defaults to ha-brokers.") + ("ha-replicate-default", + optValue(settings.replicateDefault, "LEVEL"), + "Replication level for creating queues and exchanges if there is no qpid.replicate argument supplied. LEVEL is 'none', 'configuration' or 'all'") ("ha-expected-backups", optValue(settings.expectedBackups, "N"), "Number of backups expected to be active in the HA cluster.") ("ha-username", optValue(settings.username, "USER"), |
