commit | b114b7c55954229888fd2475405682f816906a98 | [log] [tgz] |
---|---|---|
author | rinrinne <rinrin.ne@gmail.com> | Wed Jan 08 10:57:29 2014 +0900 |
committer | rinrinne <rinrin.ne@gmail.com> | Wed Jan 08 10:57:29 2014 +0900 |
tree | 050ee6c43c904463cda9e3f451066ab1495cf1e9 | |
parent | a2186735fb7b19ceef30a0316eea0107f9ecc76a [diff] |
Change default value
diff --git a/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/Properties.java b/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/Properties.java index 87ab475..4c64247 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/Properties.java +++ b/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/Properties.java
@@ -40,7 +40,7 @@ } public String getAMQPUri() { - return pluginConfig.getString(Keys.AMQP_URI.property, ""); + return pluginConfig.getString(Keys.AMQP_URI.property, "amqp://localhost"); } public String getAMQPUsername() {
diff --git a/src/main/resources/Documentation/config.md b/src/main/resources/Documentation/config.md index db99ae7..a69b833 100644 --- a/src/main/resources/Documentation/config.md +++ b/src/main/resources/Documentation/config.md
@@ -21,7 +21,8 @@ ``` rabbitmq.amqpUri -: The URI of RabbitMQ server's endpoint. **this is mandatory**. +: The URI of RabbitMQ server's endpoint. If not specified, + defaults to "amqp://localhost". rabbitmq.amqpUsername : Username for RabbitMQ connection authentication. If not