commit | 7ba73555bc97f5f93f9f1df83de7327c7fc21e91 | [log] [tgz] |
---|---|---|
author | David Pursehouse <david.pursehouse@sonymobile.com> | Wed May 20 12:18:55 2015 +0900 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Thu May 21 10:58:18 2015 +0900 |
tree | ed010378ae05372caa3f81d6e0400acd5c74d201 | |
parent | 7d4dc7ff8722b2af4af89419c98406dbc3567ce5 [diff] |
Catch explicit exceptions instead of Exception It's better to only catch the specific execptions that are actually thrown from the methods being called. Also make sure we consistently log errors with the log level error rather than warn or info, and improve some of the message texts. Change-Id: I1889cd4da702ce43a4e087f21c27680900abd5a9
This is Gerrit plugin.
This can publish gerrit events to message queue provided by RabbitMQ. Published events are the same as Gerrit stream evnets.
This plugin works on Gerrit 2.8 - 2.10.
linux
java-1.7
Buck
Clone or link this plugin to the plugins directory of Gerrit's source tree, and issue the command:
buck build plugins/rabbitmq
The output is created in
buck-out/gen/plugins/rabbitmq/rabbitmq.jar
[amqp] uri = amqp://localhost [exchange] name = exchange-for-gerrit-queue [message] routingKey = com.foobar.www.gerrit [gerrit] name = foobar-gerrit hostname = www.foobar.com
3.14 (Freezed)
stable-2.10
master
is permanently latest but would not be updated by author anymore.3.1
3.0
2.0
1.4
1.3
1.2
1.1
monitor.failureCount
1.0
The Apache Software License, Version 2.0
Copyright (c) 2013 rinrinne a.k.a. rin_ne