|author||David Pursehouse <firstname.lastname@example.org>||Tue May 19 21:47:27 2015 +0900|
|committer||David Pursehouse <email@example.com>||Tue May 19 22:50:07 2015 +0900|
Create new AMQP properties for each publication The timestamp was only getting set on the first time getBasicProperties() was called. Since there are no setter methods on the AMQP.BasicProperties class, we can't just set a new timestamp on the existing object every time. And it's ugly to reconstruct a new one based off the existing one. Move initialisation of the headers into the constructor, and return a new instance of the AMQP.BasicProperties object on each subsequent call to the getBasicProperties method. Change-Id: I7436bc5ffadc566d30d7ae465fcf618d1e983653
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.
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
[amqp] uri = amqp://localhost [exchange] name = exchange-for-gerrit-queue [message] routingKey = com.foobar.www.gerrit [gerrit] name = foobar-gerrit hostname = www.foobar.com
masteris permanently latest but would not be updated by author anymore.
The Apache Software License, Version 2.0
Copyright (c) 2013 rinrinne a.k.a. rin_ne